HE_Mesh2014  2.0.11
Public Member Functions | Public Attributes | Private Attributes | List of all members
wblut.hemesh.HEC_ConvexHull Class Reference
+ Inheritance diagram for wblut.hemesh.HEC_ConvexHull:

Public Member Functions

 HEC_ConvexHull ()
 
HEC_ConvexHull setPoints (final WB_Point[] points)
 
HEC_ConvexHull setPoints (final HE_Vertex[] points)
 
HEC_ConvexHull setPoints (final Collection<?extends WB_Point > points)
 
HEC_ConvexHull setPointsFromVertices (final Collection< HE_Vertex > points)
 
HEC_ConvexHull setPoints (final double[][] points)
 
HEC_ConvexHull setPoints (final float[][] points)
 
HEC_ConvexHull setPoints (final int[][] points)
 
HEC_ConvexHull setN (final int N)
 
HE_Mesh createBase ()
 
HE_Mesh createWithQuickHull ()
 
- Public Member Functions inherited from wblut.hemesh.HEC_Creator
 HEC_Creator ()
 
HEC_Creator setCenter (final double x, final double y, final double z)
 
HEC_Creator setCenter (final WB_Point c)
 
HEC_Creator setZAngle (final double a)
 
HEC_Creator setZAxis (final double x, final double y, final double z)
 
HEC_Creator setZAxis (final double p0x, final double p0y, final double p0z, final double p1x, final double p1y, final double p1z)
 
HEC_Creator setZAxis (final WB_Point p)
 
HEC_Creator setZAxis (final WB_Point p0, final WB_Point p1)
 
HEC_Creator setToModelview (final PApplet home)
 
HEC_Creator setToWorldview ()
 
final HE_Mesh create ()
 
HE_Mesh apply (final HE_Mesh mesh)
 
HE_Mesh apply (final HE_Selection sel)
 
- Public Member Functions inherited from wblut.hemesh.HE_Machine
abstract HE_Mesh apply (HE_Mesh mesh)
 
abstract HE_Mesh apply (HE_Selection selection)
 
String getStatus ()
 

Public Attributes

Map< Long, Integer > vertexToPointIndex
 
- Public Attributes inherited from wblut.hemesh.HEC_Creator
PApplet home
 

Private Attributes

WB_Point[] points
 
int numberOfPoints
 

Additional Inherited Members

- Static Public Attributes inherited from wblut.hemesh.HE_Machine
static final HET_ProgressTracker tracker
 
- Protected Member Functions inherited from wblut.hemesh.HEC_Creator
abstract HE_Mesh createBase ()
 
- Protected Attributes inherited from wblut.hemesh.HEC_Creator
WB_Point center
 
double zangle
 
WB_Vector zaxis
 
boolean override
 
boolean toModelview
 
WB_Vector Z
 

Detailed Description

Creates the convex hull of a collection of points.

Author
Frederik Vanhoutte (W:Blut)

Constructor & Destructor Documentation

wblut.hemesh.HEC_ConvexHull.HEC_ConvexHull ( )

Instantiates a new HEC_ConvexHull.

Member Function Documentation

HE_Mesh wblut.hemesh.HEC_ConvexHull.createBase ( )
HE_Mesh wblut.hemesh.HEC_ConvexHull.createWithQuickHull ( )
Returns
HEC_ConvexHull wblut.hemesh.HEC_ConvexHull.setN ( final int  N)

Set number of points.

Parameters
Nnumber of points
Returns
self
HEC_ConvexHull wblut.hemesh.HEC_ConvexHull.setPoints ( final WB_Point[]  points)

Set points that define vertices.

Parameters
pointsarray of vertex positions
Returns
self
HEC_ConvexHull wblut.hemesh.HEC_ConvexHull.setPoints ( final HE_Vertex[]  points)

Set points that define vertices.

Parameters
pointsarray of vertex positions
Returns
self
HEC_ConvexHull wblut.hemesh.HEC_ConvexHull.setPoints ( final Collection<?extends WB_Point points)

Set points that define vertices.

Parameters
pointsany Collection of vertex positions
Returns
self
HEC_ConvexHull wblut.hemesh.HEC_ConvexHull.setPoints ( final double  points[][])

Set points that define vertices.

Parameters
points2D array of double of vertex positions
Returns
self
HEC_ConvexHull wblut.hemesh.HEC_ConvexHull.setPoints ( final float  points[][])

Set points that define vertices.

Parameters
points2D array of float of vertex positions
Returns
self
HEC_ConvexHull wblut.hemesh.HEC_ConvexHull.setPoints ( final int  points[][])

Set points that define vertices.

Parameters
points2D array of float of vertex positions
Returns
self
HEC_ConvexHull wblut.hemesh.HEC_ConvexHull.setPointsFromVertices ( final Collection< HE_Vertex points)

Set points that define vertices.

Parameters
pointsany Collection of vertex positions
Returns
self

Member Data Documentation

int wblut.hemesh.HEC_ConvexHull.numberOfPoints
private

Number of points.

WB_Point [] wblut.hemesh.HEC_ConvexHull.points
private

Points.

Map<Long, Integer> wblut.hemesh.HEC_ConvexHull.vertexToPointIndex

The vertex to point index.


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