HE_Mesh2014
2.0.11
|
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 () |
![]() | |
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 | |
![]() | |
int | _numberOfMeshes |
Creates the Voronoi cells of a collection of points, constrained by a mesh.
wblut.hemesh.HEMC_VoronoiCells.HEMC_VoronoiCells | ( | ) |
Instantiates a new HEMC_VoronoiCells.
HE_Mesh [] wblut.hemesh.HEMC_VoronoiCells.create | ( | ) |
|
static |
HEMC_VoronoiCells wblut.hemesh.HEMC_VoronoiCells.setBruteForce | ( | final boolean | b | ) |
b |
HEMC_VoronoiCells wblut.hemesh.HEMC_VoronoiCells.setContainer | ( | final HE_Mesh | container | ) |
Set enclosing mesh limiting cells.
container | enclosing mesh |
HEMC_VoronoiCells wblut.hemesh.HEMC_VoronoiCells.setCreateSkin | ( | final boolean | b | ) |
Create skin mesh?.
b | true, false |
HEMC_VoronoiCells wblut.hemesh.HEMC_VoronoiCells.setMesh | ( | final HE_Mesh | mesh, |
final boolean | addCenter | ||
) |
Set mesh, defines both points and container.
mesh | HE_Mesh |
addCenter | add mesh center as extra point? |
HEMC_VoronoiCells wblut.hemesh.HEMC_VoronoiCells.setN | ( | final int | N | ) |
Set number of points.
N | number of points |
HEMC_VoronoiCells wblut.hemesh.HEMC_VoronoiCells.setOffset | ( | final double | o | ) |
Set voronoi cell offset.
o | offset |
HEMC_VoronoiCells wblut.hemesh.HEMC_VoronoiCells.setPoints | ( | final WB_Point[] | points | ) |
Set points that define cell centers.
points | array of vertex positions |
HEMC_VoronoiCells wblut.hemesh.HEMC_VoronoiCells.setPoints | ( | final Collection< WB_Point > | points | ) |
Set points that define cell centers.
points | collection of vertex positions |
HEMC_VoronoiCells wblut.hemesh.HEMC_VoronoiCells.setPoints | ( | final double | points[][] | ) |
Set points that define cell centers.
points | 2D array of double of vertex positions |
HEMC_VoronoiCells wblut.hemesh.HEMC_VoronoiCells.setPoints | ( | final float | points[][] | ) |
Set points that define cell centers.
points | 2D array of float of vertex positions |
HEMC_VoronoiCells wblut.hemesh.HEMC_VoronoiCells.setSimpleCap | ( | final boolean | b | ) |
Sets the simple cap.
b | the b |
HEMC_VoronoiCells wblut.hemesh.HEMC_VoronoiCells.setSurface | ( | final boolean | b | ) |
Set optional surface mesh mode.
b | true, false |
|
private |
|
private |
Container.
|
private |
Create divided skin of container.
HE_Selection [] wblut.hemesh.HEMC_VoronoiCells.inner |
The inner.
|
private |
Number of points.
|
private |
Offset.
HE_Selection [] wblut.hemesh.HEMC_VoronoiCells.outer |
The outer.
|
private |
Points.
|
private |
The simple cap.
|
private |
Treat container as surface?.
|
static |