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

Public Member Functions

 HEC_VoronoiCell ()
 
HEC_VoronoiCell setPoints (final WB_Point[] points)
 
HEC_VoronoiCell setPoints (final double[][] points)
 
HEC_VoronoiCell setPoints (final float[][] points)
 
HEC_VoronoiCell setPointsToUse (final int[] pointsToUse)
 
HEC_VoronoiCell setPointsToUse (final ArrayList< Integer > pointsToUse)
 
HEC_VoronoiCell setN (final int N)
 
HEC_VoronoiCell setCellIndex (final int i)
 
HEC_VoronoiCell setOffset (final double o)
 
HEC_VoronoiCell setContainer (final HE_Mesh container)
 
HEC_VoronoiCell setLimitPoints (final boolean b)
 
HEC_VoronoiCell setSurface (final boolean b)
 
HEC_VoronoiCell setSimpleCap (final Boolean b)
 
HE_Mesh createBase ()
 
- 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

HE_Selection inner
 
HE_Selection outer
 
- Public Attributes inherited from wblut.hemesh.HEC_Creator
PApplet home
 

Private Attributes

WB_Point[] points
 
int numberOfPoints
 
int[] pointsToUse
 
int cellIndex
 
HE_Mesh container
 
boolean surface
 
boolean simpleCap
 
double offset
 
boolean limitPoints
 

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 Voronoi cell of one point in a collection of points, constrained by a mesh.

Author
Frederik Vanhoutte (W:Blut)

Constructor & Destructor Documentation

wblut.hemesh.HEC_VoronoiCell.HEC_VoronoiCell ( )

Instantiates a new HEC_VoronoiCell.

Member Function Documentation

HE_Mesh wblut.hemesh.HEC_VoronoiCell.createBase ( )
HEC_VoronoiCell wblut.hemesh.HEC_VoronoiCell.setCellIndex ( final int  i)

Set index of cell to create.

Parameters
iindex
Returns
self
HEC_VoronoiCell wblut.hemesh.HEC_VoronoiCell.setContainer ( final HE_Mesh  container)

Set enclosing mesh limiting cells.

Parameters
containerenclosing mesh
Returns
self
HEC_VoronoiCell wblut.hemesh.HEC_VoronoiCell.setLimitPoints ( final boolean  b)

Limit the points considered to those indices specified in the pointsToUseArray.

Parameters
btrue, false
Returns
self
HEC_VoronoiCell wblut.hemesh.HEC_VoronoiCell.setN ( final int  N)

Set number of points.

Parameters
Nnumber of points
Returns
self
HEC_VoronoiCell wblut.hemesh.HEC_VoronoiCell.setOffset ( final double  o)

Set voronoi cell offset.

Parameters
ooffset
Returns
self
HEC_VoronoiCell wblut.hemesh.HEC_VoronoiCell.setPoints ( final WB_Point[]  points)

Set points that define cell centers.

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

Set points that define cell centers.

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

Set points that define cell centers.

Parameters
points2D array of float of vertex positions
Returns
self
HEC_VoronoiCell wblut.hemesh.HEC_VoronoiCell.setPointsToUse ( final int[]  pointsToUse)

Sets the points to use.

Parameters
pointsToUsethe points to use
Returns
the hE c_ voronoi cell
HEC_VoronoiCell wblut.hemesh.HEC_VoronoiCell.setPointsToUse ( final ArrayList< Integer >  pointsToUse)

Sets the points to use.

Parameters
pointsToUsethe points to use
Returns
the hE c_ voronoi cell
HEC_VoronoiCell wblut.hemesh.HEC_VoronoiCell.setSimpleCap ( final Boolean  b)

Sets the simple cap.

Parameters
bthe b
Returns
the hE c_ voronoi cell
HEC_VoronoiCell wblut.hemesh.HEC_VoronoiCell.setSurface ( final boolean  b)

Set optional surface mesh mode.

Parameters
btrue, false
Returns
self

Member Data Documentation

int wblut.hemesh.HEC_VoronoiCell.cellIndex
private

Cell index.

HE_Mesh wblut.hemesh.HEC_VoronoiCell.container
private

Container.

HE_Selection wblut.hemesh.HEC_VoronoiCell.inner

Faces fully interior to cell.

boolean wblut.hemesh.HEC_VoronoiCell.limitPoints
private

The limit points.

int wblut.hemesh.HEC_VoronoiCell.numberOfPoints
private

Number of points.

double wblut.hemesh.HEC_VoronoiCell.offset
private

Offset.

HE_Selection wblut.hemesh.HEC_VoronoiCell.outer

Faces part of container.

WB_Point [] wblut.hemesh.HEC_VoronoiCell.points
private

Points.

int [] wblut.hemesh.HEC_VoronoiCell.pointsToUse
private

Use specific subselection of points.

boolean wblut.hemesh.HEC_VoronoiCell.simpleCap
private

The simple cap.

boolean wblut.hemesh.HEC_VoronoiCell.surface
private

Treat container as surface?.


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