HE_Mesh
6.0.1
|
Private Member Functions | |
void | grow (final WB_Point[] tracers, final int index, final double offset) |
Private Attributes | |
List< WB_Coord > | points |
int | numberOfPoints |
int | cellIndex |
int | level |
double | cutoff |
WB_Vector[] | dir |
boolean | approx |
int | numTracers |
double | traceStep |
final WB_RandomOnSphere | randomGen |
double | offset |
Additional Inherited Members | |
![]() | |
PApplet | home |
![]() | |
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 maximum radius.
wblut.hemesh.HEC_VoronoiSphere.HEC_VoronoiSphere | ( | ) |
Instantiates a new HEC_VoronoiSphere.
HE_Mesh wblut.hemesh.HEC_VoronoiSphere.createBase | ( | ) |
References wblut.geom.WB_Point.addSelf(), wblut.hemesh.HEC_VoronoiSphere.grow(), wblut.hemesh.HE_Mesh.modify(), wblut.geom.WB_Vector.mul(), wblut.geom.WB_Point.mulSelf(), wblut.geom.WB_RandomOnSphere.nextPoint(), wblut.geom.WB_Vector.normalizeSelf(), wblut.hemesh.HEC_VoronoiSphere.numberOfPoints, wblut.hemesh.HEC_VoronoiSphere.numTracers, wblut.geom.WB_RandomOnSphere.reset(), wblut.hemesh.HEC_Geodesic.setB(), wblut.hemesh.HEC_Geodesic.setC(), wblut.hemesh.HEC_Creator.setCenter(), wblut.hemesh.HEM_MultiSlice.setCenter(), wblut.hemesh.HEC_ConvexHull.setN(), wblut.hemesh.HEM_MultiSlice.setPlanes(), wblut.hemesh.HEC_ConvexHull.setPoints(), wblut.hemesh.HEC_Geodesic.setRadius(), and wblut.geom.WB_Vector.subSelf().
|
private |
tracers | |
index | |
offset |
References wblut.geom.WB_KDTreeInteger< T extends WB_Coord >.add(), wblut.math.WB_Epsilon.EPSILON, wblut.geom.WB_KDTreeInteger< T extends WB_Coord >.getNearestNeighbors(), wblut.geom.WB_GeometryOp3D.getSqDistance3D(), wblut.hemesh.HEC_VoronoiSphere.numberOfPoints, wblut.hemesh.HEC_VoronoiSphere.numTracers, wblut.hemesh.HEC_VoronoiSphere.traceStep, wblut.geom.WB_KDTreeInteger< T extends WB_Coord >.WB_KDEntryInteger< T extends WB_Coord >.value, wblut.geom.WB_MutableCoordinate.xd(), wblut.geom.WB_MutableCoordinate.yd(), and wblut.geom.WB_MutableCoordinate.zd().
HEC_VoronoiSphere wblut.hemesh.HEC_VoronoiSphere.setApprox | ( | final boolean | a | ) |
Set approximate mode.
a | true, false |
HEC_VoronoiSphere wblut.hemesh.HEC_VoronoiSphere.setCellIndex | ( | final int | i | ) |
Set index of cell to create.
i | index |
HEC_VoronoiSphere wblut.hemesh.HEC_VoronoiSphere.setCutoff | ( | final double | c | ) |
Set maximum radius of cell.
c | cutoff radius |
HEC_VoronoiSphere wblut.hemesh.HEC_VoronoiSphere.setLevel | ( | final int | l | ) |
Set level of geodesic sphere in each cell.
l | recursive level |
HEC_VoronoiSphere wblut.hemesh.HEC_VoronoiSphere.setNumTracers | ( | final int | n | ) |
Set number of tracer points to use in approximate model.
n | number of tracer points |
HEC_VoronoiSphere wblut.hemesh.HEC_VoronoiSphere.setOffset | ( | final double | o | ) |
HEC_VoronoiSphere wblut.hemesh.HEC_VoronoiSphere.setPoints | ( | final Collection<?extends WB_Coord > | points | ) |
Set points that define cell centers.
points | collection of vertex positions |
HEC_VoronoiSphere wblut.hemesh.HEC_VoronoiSphere.setPoints | ( | final double | points[][] | ) |
Set points that define cell centers.
points | 2D array of double of vertex positions |
HEC_VoronoiSphere wblut.hemesh.HEC_VoronoiSphere.setPoints | ( | final float | points[][] | ) |
Set points that define cell centers.
points | 2D array of float of vertex positions |
HEC_VoronoiSphere wblut.hemesh.HEC_VoronoiSphere.setPoints | ( | final WB_Coord[] | points | ) |
Set points that define cell centers.
points | array of vertex positions |
HEC_VoronoiSphere wblut.hemesh.HEC_VoronoiSphere.setSeed | ( | final long | seed | ) |
Set seed of random generator.
seed | seed |
References wblut.geom.WB_RandomOnSphere.setSeed().
HEC_VoronoiSphere wblut.hemesh.HEC_VoronoiSphere.setTraceStep | ( | final double | d | ) |
Set initial trace step size.
d | trace step |
|
private |
Approximate mode?.
|
private |
Cell index.
|
private |
Maximum radius.
|
private |
Point directions.
|
private |
Level of geodesic sphere in exact mode.
|
private |
Number of points.
|
private |
Number of tracer points to use in approximate mode?.
|
private |
|
private |
points.
|
private |
The random gen.
|
private |
Starting trace step in approximate mode?.