HE_Mesh
6.0.1
|
Public Attributes | |
HE_Selection | inner |
HE_Selection | outer |
![]() | |
PApplet | home |
Private Attributes | |
WB_Coord[] | points |
int | numberOfPoints |
int[] | pointsToUse |
int | cellIndex |
HE_Mesh | container |
boolean | surface |
WB_ScalarParameter | offset |
boolean | limitPoints |
Additional Inherited Members | |
![]() | |
static final WB_ProgressTracker | tracker = WB_ProgressTracker.instance() |
![]() | |
abstract HE_Mesh | createBase () |
![]() | |
WB_Point | center |
double | zangle |
WB_Vector | zaxis |
boolean | override |
boolean | override2D |
boolean | toModelview |
WB_Vector | Z |
boolean | manifoldCheck |
double | scale |
Creates the Voronoi cell of one point in a collection of points, constrained by a mesh.
wblut.hemesh.HEC_VoronoiCell.HEC_VoronoiCell | ( | ) |
Instantiates a new HEC_VoronoiCell.
References wblut.math.WB_ScalarParameter.ZERO.
HE_Mesh wblut.hemesh.HEC_VoronoiCell.createBase | ( | ) |
References wblut.hemesh.HE_Selection.add(), wblut.geom.WB_Point.addSelf(), wblut.hemesh.HEM_MultiSlice.applySelf(), wblut.hemesh.HEC_VoronoiCell.cellIndex, wblut.hemesh.HEC_VoronoiCell.container, wblut.hemesh.HE_Mesh.copy(), wblut.math.WB_ScalarParameter.evaluate(), wblut.hemesh.HE_Selection.fItr(), wblut.hemesh.HE_Selection.getNumberOfFaces(), wblut.hemesh.HE_FaceIterator.hasNext(), wblut.geom.WB_Vector.mul(), wblut.geom.WB_Point.mulSelf(), wblut.hemesh.HE_FaceIterator.next(), wblut.geom.WB_Vector.normalizeSelf(), wblut.hemesh.HEC_VoronoiCell.numberOfPoints, wblut.hemesh.HEM_MultiSlice.origFaces, wblut.hemesh.HE_Mesh.selectFacesWithInternalLabel(), wblut.geom.WB_MutableCoordinate.set(), wblut.hemesh.HEM_MultiSlice.setCap(), wblut.hemesh.HEM_MultiSlice.setCenter(), wblut.hemesh.HE_Element.setInternalLabel(), wblut.hemesh.HEM_MultiSlice.setLabels(), wblut.hemesh.HEM_MultiSlice.setPlanes(), wblut.hemesh.HE_Element.setUserLabel(), wblut.geom.WB_Vector.subSelf(), wblut.geom.WB_Coord.xd(), wblut.geom.WB_Coord.yd(), and wblut.geom.WB_Coord.zd().
HEC_VoronoiCell wblut.hemesh.HEC_VoronoiCell.setCellIndex | ( | final int | i | ) |
Set index of cell to create.
i | index |
HEC_VoronoiCell wblut.hemesh.HEC_VoronoiCell.setContainer | ( | final HE_Mesh | container | ) |
Set enclosing mesh limiting cells.
container | enclosing mesh |
References wblut.hemesh.HEC_VoronoiCell.container.
HEC_VoronoiCell wblut.hemesh.HEC_VoronoiCell.setLimitPoints | ( | final boolean | b | ) |
Limit the points considered to those indices specified in the pointsToUseArray.
b | true, false |
HEC_VoronoiCell wblut.hemesh.HEC_VoronoiCell.setOffset | ( | final double | o | ) |
Set voronoi cell offset.
o | offset |
HEC_VoronoiCell wblut.hemesh.HEC_VoronoiCell.setOffset | ( | final WB_ScalarParameter | o | ) |
Set voronoi cell offset.
o | offset |
HEC_VoronoiCell wblut.hemesh.HEC_VoronoiCell.setPoints | ( | final WB_Coord[] | points | ) |
Set points that define cell centers.
points | array of vertex positions |
References wblut.hemesh.HEC_VoronoiCell.points.
HEC_VoronoiCell wblut.hemesh.HEC_VoronoiCell.setPoints | ( | final Collection<?extends WB_Coord > | points | ) |
HEC_VoronoiCell wblut.hemesh.HEC_VoronoiCell.setPoints | ( | final double | points[][] | ) |
Set points that define cell centers.
points | 2D array of double of vertex positions |
HEC_VoronoiCell wblut.hemesh.HEC_VoronoiCell.setPoints | ( | final float | points[][] | ) |
Set points that define cell centers.
points | 2D array of float of vertex positions |
HEC_VoronoiCell wblut.hemesh.HEC_VoronoiCell.setPointsToUse | ( | final int[] | pointsToUse | ) |
Sets the points to use.
pointsToUse | the points to use |
References wblut.hemesh.HEC_VoronoiCell.pointsToUse.
HEC_VoronoiCell wblut.hemesh.HEC_VoronoiCell.setPointsToUse | ( | final ArrayList< Integer > | pointsToUse | ) |
Sets the points to use.
pointsToUse | the points to use |
HEC_VoronoiCell wblut.hemesh.HEC_VoronoiCell.setSurface | ( | final boolean | b | ) |
Set optional surface mesh mode.
b | true, false |
|
private |
Cell index.
|
private |
Container.
HE_Selection wblut.hemesh.HEC_VoronoiCell.inner |
Faces fully interior to cell.
|
private |
The limit points.
|
private |
Number of points.
|
private |
Offset.
HE_Selection wblut.hemesh.HEC_VoronoiCell.outer |
Faces part of container.
|
private |
Points.
|
private |
Use specific subselection of points.
|
private |
Treat container as surface?.