versor  3.0
C++11 library for Geometric algebra
Public Types | Public Member Functions | Public Attributes | List of all members
vsr::ConvexHull< DIM > Struct Template Reference


convex (and other assorted) hulls assembled into a half edge graph More...

#include <vsr_hull.h>

Public Types

typedef NEVec< DIM > Type
 Vector type.
 
typedef NEVec< DIM+1 > HomType
 Homogenized Vector type.
 
typedef HEGraph< TypeHEG
 
typedef HEG::Face Face
 
typedef HEG::HalfEdge Edge
 

Public Member Functions

auto facetPlane (Face &f) -> auto
 Make dual euclidean plane from a face.
 
auto edgeLine (Edge &e) -> auto
 Make direct line from an edge.
 
auto edgePlane (Edge &ea, Edge &eb) -> auto
 Make plane from two edges.
 
template<class DualPlaneType >
bool isHalfSpace (DualPlaneType &dlp, vector< Type > &group)
 are all members of group in same half space relative to plane?
 
bool allTrue (vector< bool > b)
 
HEGcalc (vector< Type > &group)
 
HEGinitialFace (vector< Type > &group)
 
HEGaltConvexPass (vector< Type > &group)
 
HEGconvexPass (vector< Type > &group)
 
HEGcloseHoles (int N=0)
 

Public Attributes

decltype(HomType()^HomType()) typedef EdgeType
 
HEG graph
 The half edge graph.
 
vector< bool > bVisited
 

Detailed Description

template<bits::type DIM>
struct vsr::ConvexHull< DIM >


convex (and other assorted) hulls assembled into a half edge graph



The documentation for this struct was generated from the following file: