8 #include "Polyhedron3D.h" 30 bool ClipLine1D(Real q, Real p, Real& umin, Real& umax);
34 inline bool ClipLine1D(Real x0, Real a, Real b, Real& umin, Real& umax)
bool ClipLine1D(Real q, Real p, Real &umin, Real &umax)
Clipping primitive in 1D.
Definition: math3d/clip.cpp:5
A 3D plane classRepresents plane with a normal and offset such that x on the plane satisfy dot(normal...
Definition: Plane3D.h:19
A 3D vector class.
Definition: math3d/primitives.h:136
A 3D axis-aligned bounding box.
Definition: AABB3D.h:13
A convex polyhedron given in a dual representation, planes and vertices of convex hull...
Definition: Polyhedron3D.h:19
Contains all the definitions in the Math3D package.
Definition: AnyGeometry.h:13
A 2D plane classRepresents plane with a normal and offset such that x on the plane satisfy dot(normal...
Definition: Plane2D.h:20
A convex connected polygon such that the vertices are in ccw order.
Definition: Polygon2D.h:61
Contains all definitions in the Math package.
Definition: WorkspaceBound.h:12
A 2D vector class.
Definition: math3d/primitives.h:41
A 2D axis-aligned bounding box.
Definition: AABB2D.h:13
A 3D boxThe box is the unit cube [0,1]^3 set in the scaled local coordinate system. That is, one corner is at the origin, and it has dimensions [dims.x,dims.y,dims.z] in the coordinates given by {xbasis,ybasis,zbasis}.
Definition: Box3D.h:21
bool ClipLine(const Vector2 &x, const Vector2 &v, const Plane2D &b, Real &u1, Real &u2)
Definition: math3d/clip.cpp:24