HE_Mesh
5.0.0
|
Static Public Member Functions | |
static void | main (final String[] args) |
Public Attributes | |
HE_Selection[] | inner |
HE_Selection[] | outer |
Private Attributes | |
List< WB_Coord > | points |
int | numberOfPoints |
HE_Mesh | container |
boolean | surface |
boolean | simpleCap |
boolean | bruteForce |
double | offset |
boolean | createSkin |
Additional Inherited Members | |
![]() | |
static final WB_ProgressTracker | tracker = WB_ProgressTracker.instance() |
![]() | |
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_MeshCollection 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_Coord[] | points | ) |
Set points that define cell centers.
points | array of vertex positions |
HEMC_VoronoiCells wblut.hemesh.HEMC_VoronoiCells.setPoints | ( | final Collection<?extends WB_Coord > | 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?.