HE_Mesh  5.0.0
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_Coord[] points)
 
HEMC_VoronoiCells setPoints (final Collection<?extends WB_Coord > 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_MeshCollection create ()
 
- Public Member Functions inherited from wblut.hemesh.HEMC_MultiCreator
 HEMC_MultiCreator ()
 
HE_MeshCollection create ()
 
int numberOfMeshes ()
 
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)
 

Static Public Member Functions

static void main (final String[] args)
 

Public Attributes

HE_Selection[] inner
 
HE_Selection[] outer
 

Private Attributes

List< WB_Coordpoints
 
int numberOfPoints
 
HE_Mesh container
 
boolean surface
 
boolean simpleCap
 
boolean bruteForce
 
double offset
 
boolean createSkin
 

Additional Inherited Members

- Static Public Attributes inherited from wblut.hemesh.HE_Machine
static final WB_ProgressTracker tracker = WB_ProgressTracker.instance()
 
- 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_MeshCollection wblut.hemesh.HEMC_VoronoiCells.create ( )
static void wblut.hemesh.HEMC_VoronoiCells.main ( final String[]  args)
static
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_Coord[]  points)

Set points that define cell centers.

Parameters
pointsarray of vertex positions
Returns
self
HEMC_VoronoiCells wblut.hemesh.HEMC_VoronoiCells.setPoints ( final Collection<?extends WB_Coord 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.

List<WB_Coord> 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?.


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