HE_Mesh  5.1.2
wblut.hemesh.HEMC_VoronoiCells2 Class Reference
+ Inheritance diagram for wblut.hemesh.HEMC_VoronoiCells2:

Classes

class  CellRunner
 
class  VorResult
 

Public Member Functions

 HEMC_VoronoiCells2 ()
 
HEMC_VoronoiCells2 setMesh (final HE_Mesh mesh, final boolean addCenter)
 
HEMC_VoronoiCells2 setPoints (final WB_Coord[] points)
 
HEMC_VoronoiCells2 setPoints (final Collection<?extends WB_Coord > points)
 
HEMC_VoronoiCells2 setPoints (final double[][] points)
 
HEMC_VoronoiCells2 setPoints (final float[][] points)
 
HEMC_VoronoiCells2 setN (final int N)
 
HEMC_VoronoiCells2 setOffset (final double o)
 
HEMC_VoronoiCells2 setOffset (final WB_ScalarParameter o)
 
HEMC_VoronoiCells2 setContainer (final HE_Mesh container)
 
HEMC_VoronoiCells2 setSimpleCap (final boolean b)
 
HEMC_VoronoiCells2 setBruteForce (final boolean b)
 
- Public Member Functions inherited from wblut.hemesh.HEMC_MultiCreator
 HEMC_MultiCreator ()
 
final 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)
 

Public Attributes

HE_Selection[] inner
 
HE_Selection[] outer
 

Private Attributes

List< WB_Coordpoints
 
int numberOfPoints
 
HE_Mesh container
 
boolean simpleCap
 
boolean bruteForce
 
WB_ScalarParameter offset
 

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_VoronoiCells2.HEMC_VoronoiCells2 ( )

Instantiates a new HEMC_VoronoiCells.

Member Function Documentation

HEMC_VoronoiCells2 wblut.hemesh.HEMC_VoronoiCells2.setBruteForce ( final boolean  b)
Parameters
b
Returns
HEMC_VoronoiCells2 wblut.hemesh.HEMC_VoronoiCells2.setContainer ( final HE_Mesh  container)

Set enclosing mesh limiting cells.

Parameters
containerenclosing mesh
Returns
self
HEMC_VoronoiCells2 wblut.hemesh.HEMC_VoronoiCells2.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_VoronoiCells2 wblut.hemesh.HEMC_VoronoiCells2.setN ( final int  N)

Set number of points.

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

Set voronoi cell offset.

Parameters
ooffset
Returns
self
HEMC_VoronoiCells2 wblut.hemesh.HEMC_VoronoiCells2.setOffset ( final WB_ScalarParameter  o)

Set voronoi cell offset.

Parameters
ooffset
Returns
self
HEMC_VoronoiCells2 wblut.hemesh.HEMC_VoronoiCells2.setPoints ( final WB_Coord[]  points)

Set points that define cell centers.

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

Set points that define cell centers.

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

Set points that define cell centers.

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

Set points that define cell centers.

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

Sets the simple cap.

Parameters
bthe b
Returns
the hEM c_ voronoi cells

Member Data Documentation

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

Container.

HE_Selection [] wblut.hemesh.HEMC_VoronoiCells2.inner
int wblut.hemesh.HEMC_VoronoiCells2.numberOfPoints
private

Number of points.

WB_ScalarParameter wblut.hemesh.HEMC_VoronoiCells2.offset
private

Offset.

HE_Selection [] wblut.hemesh.HEMC_VoronoiCells2.outer
List<WB_Coord> wblut.hemesh.HEMC_VoronoiCells2.points
private

Points.

boolean wblut.hemesh.HEMC_VoronoiCells2.simpleCap
private

The simple cap.


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