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

Public Member Functions

 HEMC_VoronoiCells ()
 
HEMC_VoronoiCells setMesh (final HE_Mesh mesh, final boolean addCenter)
 
HEMC_VoronoiCells setPoints (final WB_Point[] points)
 
HEMC_VoronoiCells setPoints (final Collection< WB_Point > points)
 
HEMC_VoronoiCells setPoints (final double[][] points)
 
HEMC_VoronoiCells setPoints (final float[][] points)
 
HEMC_VoronoiCells setN (final int N)
 
HEMC_VoronoiCells setOffset (final double o)
 
HEMC_VoronoiCells setContainer (final HE_Mesh container)
 
HEMC_VoronoiCells setSurface (final boolean b)
 
HEMC_VoronoiCells setSimpleCap (final boolean b)
 
HEMC_VoronoiCells setCreateSkin (final boolean b)
 
HEMC_VoronoiCells setBruteForce (final boolean b)
 
HE_Mesh[] create ()
 
- Public Member Functions inherited from wblut.hemesh.HEMC_MultiCreator
 HEMC_MultiCreator ()
 
HE_Mesh[] create ()
 
int numberOfMeshes ()
 

Static Public Member Functions

static String getStatus ()
 

Public Attributes

HE_Selection[] inner
 
HE_Selection[] outer
 

Static Public Attributes

static final HET_ProgressTracker tracker
 

Private Attributes

WB_Point[] points
 
int numberOfPoints
 
HE_Mesh container
 
boolean surface
 
boolean simpleCap
 
boolean bruteForce
 
double offset
 
boolean createSkin
 

Additional Inherited Members

- Protected Attributes inherited from wblut.hemesh.HEMC_MultiCreator
int _numberOfMeshes
 

Detailed Description

Creates the Voronoi cells of a collection of points, constrained by a mesh.

Author
Frederik Vanhoutte (W:Blut)

Constructor & Destructor Documentation

wblut.hemesh.HEMC_VoronoiCells.HEMC_VoronoiCells ( )

Instantiates a new HEMC_VoronoiCells.

Member Function Documentation

HE_Mesh [] wblut.hemesh.HEMC_VoronoiCells.create ( )
static String wblut.hemesh.HEMC_VoronoiCells.getStatus ( )
static
Returns
HEMC_VoronoiCells wblut.hemesh.HEMC_VoronoiCells.setBruteForce ( final boolean  b)
Parameters
b
Returns
HEMC_VoronoiCells wblut.hemesh.HEMC_VoronoiCells.setContainer ( final HE_Mesh  container)

Set enclosing mesh limiting cells.

Parameters
containerenclosing mesh
Returns
self
HEMC_VoronoiCells wblut.hemesh.HEMC_VoronoiCells.setCreateSkin ( final boolean  b)

Create skin mesh?.

Parameters
btrue, false
Returns
self
HEMC_VoronoiCells wblut.hemesh.HEMC_VoronoiCells.setMesh ( final HE_Mesh  mesh,
final boolean  addCenter 
)

Set mesh, defines both points and container.

Parameters
meshHE_Mesh
addCenteradd mesh center as extra point?
Returns
self
HEMC_VoronoiCells wblut.hemesh.HEMC_VoronoiCells.setN ( final int  N)

Set number of points.

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

Set voronoi cell offset.

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

Set points that define cell centers.

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

Set points that define cell centers.

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

Set points that define cell centers.

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

Set points that define cell centers.

Parameters
points2D array of float of vertex positions
Returns
self
HEMC_VoronoiCells wblut.hemesh.HEMC_VoronoiCells.setSimpleCap ( final boolean  b)

Sets the simple cap.

Parameters
bthe b
Returns
the hEM c_ voronoi cells
HEMC_VoronoiCells wblut.hemesh.HEMC_VoronoiCells.setSurface ( final boolean  b)

Set optional surface mesh mode.

Parameters
btrue, false
Returns
self

Member Data Documentation

boolean wblut.hemesh.HEMC_VoronoiCells.bruteForce
private
HE_Mesh wblut.hemesh.HEMC_VoronoiCells.container
private

Container.

boolean wblut.hemesh.HEMC_VoronoiCells.createSkin
private

Create divided skin of container.

HE_Selection [] wblut.hemesh.HEMC_VoronoiCells.inner

The inner.

int wblut.hemesh.HEMC_VoronoiCells.numberOfPoints
private

Number of points.

double wblut.hemesh.HEMC_VoronoiCells.offset
private

Offset.

HE_Selection [] wblut.hemesh.HEMC_VoronoiCells.outer

The outer.

WB_Point [] wblut.hemesh.HEMC_VoronoiCells.points
private

Points.

boolean wblut.hemesh.HEMC_VoronoiCells.simpleCap
private

The simple cap.

boolean wblut.hemesh.HEMC_VoronoiCells.surface
private

Treat container as surface?.

final HET_ProgressTracker wblut.hemesh.HEMC_VoronoiCells.tracker
static
Initial value:
= HET_ProgressTracker
.instance()

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