27 #ifndef MPBLOCKS_CLARKSON93_SIMPLEX_H_
28 #define MPBLOCKS_CLARKSON93_SIMPLEX_H_
33 namespace clarkson93 {
87 template <
class Traits>
93 static const unsigned int NDim = Traits::NDim;
94 typedef typename Traits::Scalar
Scalar;
95 typedef typename Traits::Point
Point;
99 typedef typename Traits::idx_t
idx_t;
140 template <
class Traits>
not used internally, can be used for searches
is a member of the horizon set
Scalar o
offset of base facet inequality hyperplane
simplex::Bits SimplexBits
HorizonRidge< Traits > HorizonRidge_t
void calculateConstraint(PointDeref &deref)
calculate the normal and offset of the constraint given the d vertices on it's base facet (does not c...
Traits::PointRef PointRef
simplices encountered in walk around a common (NDim-1) edge
not used internally, for enumerating the hull
Simplex * N[NDim+1]
simplices which share a facet
Scalar normalProjection(const Point &x)
returns the distance of x to the base facet, used in walking the triangulation to x ...
bool isInfinite(PointRef antiOrigin)
returns true if vertex[0] is the anti origin
SimplexBase< Traits > SimplexBase_t
default simplex structure which contains no additional functionality
The derived type to use for simplices.
Traits::PointDeref PointDeref
is a member of the set of simplices created to fill the empty horizon wedge
has been queued during the x-visible walk
static const unsigned int NDim
SimplexBase< Traits > This_t
not used internally, can be used for searches
PointRef V[NDim+1]
vertices of the simplex
void orientConstraint(const Point &x, Orientation orient=INSIDE)
orient the constraint by ensuring that the point x satisfies it (i.e. )
not used internally, for enumerating the hull
bool isVisible(const Point &x)
returns true if x is on the inside of the base facet (i.e. x is in the same half space as the simplex...
A horizon ridge is a d-2 dimensional facet (i.e. a facet of a facet),.
Point n
normal vector of base facet
proves a means of turning a PointRef into a Point&
encapsulates a vertex, simplex pair where the simplex is the neighbor across from the specified verte...
indicates membership into a number of sets by a bitfield