1 #ifndef GEOMETRY_UNBOUNDED_POLYTOPE_H 2 #define GEOMETRY_UNBOUNDED_POLYTOPE_H 4 #include <KrisLibrary/math3d/geometry2d.h> 24 bool Contains(
const Vector2& x)
const;
26 Real Margin(
const Vector2& x)
const;
Contains primitives that allow rays to be represented as points at infinity.
std::vector< PointRay2D > vertices
Vertex representation of the polygon.
Definition: UnboundedPolytope2D.h:32
A representation of a possibly unbounded polytope in the 2d plane.
Definition: UnboundedPolytope2D.h:17
Contains all the definitions in the Math3D package.
Definition: AnyGeometry.h:12
std::vector< Plane2D > planes
Definition: UnboundedPolytope2D.h:36
A 2D vector class.
Definition: math3d/primitives.h:41
Contains all definitions in the Geometry package.
Definition: AnyGeometry.h:11
int ClosestPoint(const CollisionMesh &mesh, const Vector3 &p, Vector3 &cp)
Finds the closest point pt to p on m and returns the triangle index. cp is given in the mesh's local ...
Definition: CollisionMesh.cpp:1304