HE_Mesh
6.0.1
|
Classes | |
class | CellRunner |
class | VorResult |
Public Attributes | |
HE_Selection[] | inner |
HE_Selection[] | outer |
Private Attributes | |
List< WB_Coord > | points |
HE_Mesh | container |
boolean | bruteForce |
WB_ScalarParameter | offset |
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. This creator tries to optimize by first creating the Voronoi cells of the enclosing box. If the cell crosses the container boundary, it is regenrated using the full container.
Limitations:
wblut.hemesh.HEMC_VoronoiCellsPre.HEMC_VoronoiCellsPre | ( | ) |
References wblut.math.WB_ScalarParameter.ZERO.
HEMC_VoronoiCellsPre wblut.hemesh.HEMC_VoronoiCellsPre.setBruteForce | ( | final boolean | b | ) |
b |
HEMC_VoronoiCellsPre wblut.hemesh.HEMC_VoronoiCellsPre.setContainer | ( | final HE_Mesh | container | ) |
Set enclosing mesh limiting cells.
container | enclosing mesh |
References wblut.hemesh.HEMC_VoronoiCellsPre.container.
HEMC_VoronoiCellsPre wblut.hemesh.HEMC_VoronoiCellsPre.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? |
References wblut.hemesh.HE_Mesh.getCenter(), and wblut.hemesh.HE_Mesh.getVertices().
HEMC_VoronoiCellsPre wblut.hemesh.HEMC_VoronoiCellsPre.setOffset | ( | final double | o | ) |
Set voronoi cell offset.
o | offset |
HEMC_VoronoiCellsPre wblut.hemesh.HEMC_VoronoiCellsPre.setOffset | ( | final WB_ScalarParameter | o | ) |
Set voronoi cell offset.
o | offset |
HEMC_VoronoiCellsPre wblut.hemesh.HEMC_VoronoiCellsPre.setPoints | ( | final WB_Coord[] | points | ) |
Set points that define cell centers.
points | array of vertex positions |
HEMC_VoronoiCellsPre wblut.hemesh.HEMC_VoronoiCellsPre.setPoints | ( | final Collection<?extends WB_Coord > | points | ) |
Set points that define cell centers.
points | collection of vertex positions |
HEMC_VoronoiCellsPre wblut.hemesh.HEMC_VoronoiCellsPre.setPoints | ( | final double | points[][] | ) |
Set points that define cell centers.
points | 2D array of double of vertex positions |
HEMC_VoronoiCellsPre wblut.hemesh.HEMC_VoronoiCellsPre.setPoints | ( | final float | points[][] | ) |
Set points that define cell centers.
points | 2D array of float of vertex positions |
|
private |
|
private |
Container.
HE_Selection [] wblut.hemesh.HEMC_VoronoiCellsPre.inner |
|
private |
Offset.
HE_Selection [] wblut.hemesh.HEMC_VoronoiCellsPre.outer |
|
private |
Points.