HE_Mesh
5.1.2
|
Protected Member Functions | |
final void | clearEdges () |
final void | replaceFaces (final HE_Mesh mesh) |
final void | replaceFaces (final HE_Face[] faces) |
final void | replaceFaces (final Collection<?extends HE_Face > faces) |
final void | replaceVertices (final HE_Mesh mesh) |
final void | replaceVertices (final HE_Vertex[] vertices) |
final void | replaceVertices (final Collection<?extends HE_Vertex > vertices) |
final void | replaceHalfedges (final HE_Mesh mesh) |
final void | replaceHalfedges (final HE_Halfedge[] halfedges) |
final void | replaceHalfedges (final Collection<?extends HE_Halfedge > halfedges) |
void | resetInternalLabels () |
void | resetFaceInternalLabels () |
void | resetHalfedgeInternalLabels () |
void | resetEdgeInternalLabels () |
void | resetVertexInternalLabels () |
void | setFaceInternalLabels (final int label) |
void | setHalfedgeInternalLabels (final int label) |
void | setEdgeInternalLabels (final int label) |
void | setVertexInternalLabels (final int label) |
![]() | |
abstract void | clear () |
![]() | |
final void | setInternalLabel (final int label) |
abstract void | clear () |
abstract void | clearPrecomputed () |
Protected Attributes | |
WB_GeometryFactory | gf = new WB_GeometryFactory() |
HE_RAS< HE_Vertex > | vertices |
HE_RAS< HE_Halfedge > | halfedges |
HE_RAS< HE_Halfedge > | edges |
HE_RAS< HE_Halfedge > | unpairedHalfedges |
HE_RAS< HE_Face > | faces |
![]() | |
volatile boolean | visited |
boolean | visible |
int | color |
![]() | |
final long | key |
long | labels |
Additional Inherited Members | |
![]() | |
static final WB_GeometryFactory | gf = new WB_GeometryFactory() |
static final WB_ProgressTracker | tracker = WB_ProgressTracker.instance() |
![]() | |
static AtomicLong | currentKey = new AtomicLong(0) |
Collection of mesh elements. Contains methods to manipulate the data structures.
wblut.hemesh.HE_MeshStructure.HE_MeshStructure | ( | ) |
Instantiates a new HE_MeshStructure.
wblut.hemesh.HE_MeshStructure.HE_MeshStructure | ( | final HE_MeshStructure | ms | ) |
Instantiates a new HE_MeshStructure and populate it with a shallow copy of mesh structure as parameter.
ms | mesh structure to copy |
final void wblut.hemesh.HE_MeshStructure.add | ( | final HE_Face | f | ) |
Add face.
f | face to add |
final void wblut.hemesh.HE_MeshStructure.add | ( | final HE_Halfedge | he | ) |
Adds halfedge.
he | halfedge to add |
final void wblut.hemesh.HE_MeshStructure.add | ( | final HE_Vertex | v | ) |
Add vertex.
v | vertex to add |
void wblut.hemesh.HE_MeshStructure.add | ( | final HE_Mesh | mesh | ) |
Add all mesh elements to this mesh. No copies are made.
mesh | mesh to add |
final void wblut.hemesh.HE_MeshStructure.addEdges | ( | final HE_MeshStructure | source | ) |
source |
final void wblut.hemesh.HE_MeshStructure.addFaces | ( | final HE_Face[] | faces | ) |
Adds faces.
faces | faces to add as HE_Face[] |
final void wblut.hemesh.HE_MeshStructure.addFaces | ( | final Collection<?extends HE_Face > | faces | ) |
Adds faces.
faces | faces to add as Collection<? extends HE_Face> |
final void wblut.hemesh.HE_MeshStructure.addFaces | ( | final HE_MeshStructure | source | ) |
source |
final void wblut.hemesh.HE_MeshStructure.addHalfedges | ( | final HE_Halfedge[] | halfedges | ) |
Adds halfedges.
halfedges | halfedges to add as HE_Halfedge[] |
final void wblut.hemesh.HE_MeshStructure.addHalfedges | ( | final Collection<?extends HE_Halfedge > | halfedges | ) |
Adds halfedges.
halfedges | halfedges to add as Collection<? extends HE_Halfedge> |
final void wblut.hemesh.HE_MeshStructure.addHalfedges | ( | final HE_MeshStructure | source | ) |
source |
final void wblut.hemesh.HE_MeshStructure.addVertices | ( | final HE_Vertex[] | vertices | ) |
Adds vertices.
vertices | vertices to add as HE_Vertex[] |
final void wblut.hemesh.HE_MeshStructure.addVertices | ( | final HE_MeshStructure | source | ) |
source |
final void wblut.hemesh.HE_MeshStructure.addVertices | ( | final Collection<?extends HE_Vertex > | vertices | ) |
Adds vertices.
vertices | vertices to add as Collection<? extends HE_Vertex> |
void wblut.hemesh.HE_MeshStructure.capHalfedges | ( | ) |
Cap all remaining unpaired halfedges. Only use after pairHalfedges();
HE_MeshStructure wblut.hemesh.HE_MeshStructure.cleanUnusedElementsByFace | ( | ) |
Clean all mesh elements not used by any faces.
void wblut.hemesh.HE_MeshStructure.clear | ( | ) |
Clear entire structure.
|
protected |
Clear edges.
void wblut.hemesh.HE_MeshStructure.clearFace | ( | final HE_Halfedge | he | ) |
Unlink face from halfedge
he |
final void wblut.hemesh.HE_MeshStructure.clearFaces | ( | ) |
Clear faces.
void wblut.hemesh.HE_MeshStructure.clearHalfedge | ( | final HE_Face | f | ) |
Unlink halfedge from face
f |
void wblut.hemesh.HE_MeshStructure.clearHalfedge | ( | final HE_Vertex | v | ) |
Unlink halfedge from vertex
v |
final void wblut.hemesh.HE_MeshStructure.clearHalfedges | ( | ) |
Clear halfedges.
void wblut.hemesh.HE_MeshStructure.clearNext | ( | final HE_Halfedge | he | ) |
Unlink next halfedge from halfedge, unlinks the corresponding "previous" relationship.
he |
void wblut.hemesh.HE_MeshStructure.clearPair | ( | final HE_Halfedge | he | ) |
Unpair halfedge. If the halfedge was paired, its pair is unpaired as well.
he |
void wblut.hemesh.HE_MeshStructure.clearPrecomputed | ( | ) |
void wblut.hemesh.HE_MeshStructure.clearPrecomputedFaces | ( | ) |
void wblut.hemesh.HE_MeshStructure.clearPrecomputedHalfedges | ( | ) |
void wblut.hemesh.HE_MeshStructure.clearPrecomputedVertices | ( | ) |
void wblut.hemesh.HE_MeshStructure.clearPrev | ( | final HE_Halfedge | he | ) |
Unlink previous halfedge from halfedge, unlinks the corresponding "next" relationship.
he |
void wblut.hemesh.HE_MeshStructure.clearVertex | ( | final HE_Halfedge | he | ) |
Unlink vertex from halfedge
he |
final void wblut.hemesh.HE_MeshStructure.clearVertices | ( | ) |
Clear vertices.
void wblut.hemesh.HE_MeshStructure.clearVisitedElements | ( | ) |
final boolean wblut.hemesh.HE_MeshStructure.contains | ( | final HE_Face | f | ) |
Check if structure contains face.
f | face |
final boolean wblut.hemesh.HE_MeshStructure.contains | ( | final HE_Halfedge | he | ) |
Check if structure contains halfedge.
he | halfedge |
final boolean wblut.hemesh.HE_MeshStructure.contains | ( | final HE_Vertex | v | ) |
Check if structure contains vertex.
v | vertex |
final boolean wblut.hemesh.HE_MeshStructure.containsEdge | ( | final long | key | ) |
key |
final boolean wblut.hemesh.HE_MeshStructure.containsFace | ( | final long | key | ) |
key |
final boolean wblut.hemesh.HE_MeshStructure.containsHalfedge | ( | final long | key | ) |
key |
final boolean wblut.hemesh.HE_MeshStructure.containsVertex | ( | final long | key | ) |
key |
HE_Path wblut.hemesh.HE_MeshStructure.createPathFromIndices | ( | final int[] | vertices, |
final boolean | loop | ||
) |
vertices | |
loop |
void wblut.hemesh.HE_MeshStructure.cycleHalfedges | ( | final List< HE_Halfedge > | halfedges | ) |
Cycle halfedges.
halfedges | halfedges to cycle |
void wblut.hemesh.HE_MeshStructure.cycleHalfedgesReverse | ( | final List< HE_Halfedge > | halfedges | ) |
Cycle halfedges.
halfedges | halfedges to cycle |
HE_EdgeIterator wblut.hemesh.HE_MeshStructure.eItr | ( | ) |
Edge iterator.
HE_FaceIterator wblut.hemesh.HE_MeshStructure.fItr | ( | ) |
Face iterator.
void wblut.hemesh.HE_MeshStructure.fixHalfedgeFaceAssignment | ( | ) |
Iterate through all halfedges and reset the halfedge link to its face to itself. f=he.getFace() f.setHalfedge(he)
void wblut.hemesh.HE_MeshStructure.fixHalfedgeVertexAssignment | ( | ) |
Iterate through all halfedges and reset the halfedge link to its vertex to itself. v=he.getVertex() v.setHalfedge(he)
final WB_AABB wblut.hemesh.HE_MeshStructure.getAABB | ( | ) |
Get axis-aligned bounding box surrounding mesh.
HE_Path [] wblut.hemesh.HE_MeshStructure.getBoundaryAsPath | ( | ) |
List<WB_Polygon> wblut.hemesh.HE_MeshStructure.getBoundaryAsPolygons | ( | ) |
List<HE_Halfedge> wblut.hemesh.HE_MeshStructure.getBoundaryHalfedges | ( | ) |
Collect all boundary halfedges.
List<HE_Halfedge> wblut.hemesh.HE_MeshStructure.getBoundaryLoopHalfedges | ( | ) |
List<HE_Vertex> wblut.hemesh.HE_MeshStructure.getBoundaryVertices | ( | ) |
Collect all boundary vertices.
final WB_Sphere wblut.hemesh.HE_MeshStructure.getBoundingSphere | ( | ) |
WB_Coord [] wblut.hemesh.HE_MeshStructure.getEdgeCenters | ( | ) |
Return all edge centers.
WB_Coord [] wblut.hemesh.HE_MeshStructure.getEdgeNormals | ( | ) |
Return all edge normals.
final List<HE_Halfedge> wblut.hemesh.HE_MeshStructure.getEdges | ( | ) |
final HE_Halfedge [] wblut.hemesh.HE_MeshStructure.getEdgesAsArray | ( | ) |
Edges as array.
int [][] wblut.hemesh.HE_MeshStructure.getEdgesAsInt | ( | ) |
final HE_Halfedge wblut.hemesh.HE_MeshStructure.getEdgeWithIndex | ( | final int | i | ) |
Get edge with index. Indices of mesh elements are not fixed and will change when the mesh is modified.
i | edge index |
final HE_Halfedge wblut.hemesh.HE_MeshStructure.getEdgeWithKey | ( | final long | key | ) |
Get edge with key. The key of a mesh element is unique and never changes.
key | halfedge key |
int wblut.hemesh.HE_MeshStructure.getEulerCharacteristic | ( | ) |
WB_Coord [] wblut.hemesh.HE_MeshStructure.getFaceCenters | ( | ) |
Return all face centers.
int [] wblut.hemesh.HE_MeshStructure.getFaceColors | ( | ) |
int [] wblut.hemesh.HE_MeshStructure.getFaceInternalLabels | ( | ) |
int [] wblut.hemesh.HE_MeshStructure.getFaceLabels | ( | ) |
WB_Coord [] wblut.hemesh.HE_MeshStructure.getFaceNormals | ( | ) |
Return all face normals.
final List<HE_Face> wblut.hemesh.HE_MeshStructure.getFaces | ( | ) |
final HE_Face [] wblut.hemesh.HE_MeshStructure.getFacesAsArray | ( | ) |
Faces as array.
int [][] wblut.hemesh.HE_MeshStructure.getFacesAsInt | ( | ) |
Return the faces as array of vertex indices.
int [] wblut.hemesh.HE_MeshStructure.getFaceTextureIds | ( | ) |
boolean [] wblut.hemesh.HE_MeshStructure.getFaceVisibility | ( | ) |
final HE_Face wblut.hemesh.HE_MeshStructure.getFaceWithIndex | ( | final int | i | ) |
Get face with index. Indices of mesh elements are not fixed and will change when the mesh is modified.
i | face index |
final HE_Face wblut.hemesh.HE_MeshStructure.getFaceWithKey | ( | final long | key | ) |
Get face with key. The key of a mesh element is unique and never changes.
key | face key |
int wblut.hemesh.HE_MeshStructure.getGenus | ( | ) |
HE_Halfedge wblut.hemesh.HE_MeshStructure.getHalfedgeFromTo | ( | final HE_Vertex | v0, |
final HE_Vertex | v1 | ||
) |
Return a halfedge from vertex v0 to vertex v1. If no such halfedge exists return null.
v0 | |
v1 |
final List<HE_Halfedge> wblut.hemesh.HE_MeshStructure.getHalfedges | ( | ) |
final HE_Halfedge [] wblut.hemesh.HE_MeshStructure.getHalfedgesAsArray | ( | ) |
Halfedges as array.
final HE_Halfedge wblut.hemesh.HE_MeshStructure.getHalfedgeWithIndex | ( | final int | i | ) |
Get halfedge with index. Indices of mesh elements are not fixed and will change when the mesh is modified.
i | halfedge index |
final HE_Halfedge wblut.hemesh.HE_MeshStructure.getHalfedgeWithKey | ( | final long | key | ) |
Get halfedge with key. The key of a mesh element is unique and never changes.
key | halfedge key |
final int wblut.hemesh.HE_MeshStructure.getIndex | ( | final HE_Face | f | ) |
f |
final int wblut.hemesh.HE_MeshStructure.getIndex | ( | final HE_Vertex | v | ) |
v |
Map<Long, WB_Coord> wblut.hemesh.HE_MeshStructure.getKeyedEdgeCenters | ( | ) |
Return all edge centers.
Map<Long, WB_Coord> wblut.hemesh.HE_MeshStructure.getKeyedEdgeNormals | ( | ) |
Return all edge normals.
Map<Long, WB_Coord> wblut.hemesh.HE_MeshStructure.getKeyedFaceCenters | ( | ) |
Return all face centers.
Map<Long, WB_Coord> wblut.hemesh.HE_MeshStructure.getKeyedFaceNormals | ( | ) |
Return all face normals.
Map<Long, WB_Coord> wblut.hemesh.HE_MeshStructure.getKeyedVertexNormals | ( | ) |
Get vertex normals mapped on vertex key
final double [] wblut.hemesh.HE_MeshStructure.getLimits | ( | ) |
Get range of vertex coordinates.
int wblut.hemesh.HE_MeshStructure.getNumberOfBoundaryComponents | ( | ) |
int wblut.hemesh.HE_MeshStructure.getNumberOfEdges | ( | ) |
Number of edges.
final int wblut.hemesh.HE_MeshStructure.getNumberOfFaces | ( | ) |
Number of faces.
final int wblut.hemesh.HE_MeshStructure.getNumberOfHalfedges | ( | ) |
Number of halfedges.
final int wblut.hemesh.HE_MeshStructure.getNumberOfVertices | ( | ) |
Number of vertices.
List<WB_Polygon> wblut.hemesh.HE_MeshStructure.getPolygonList | ( | ) |
Gets the polygon list.
WB_Polygon [] wblut.hemesh.HE_MeshStructure.getPolygons | ( | ) |
Return the mesh as polygon soup.
WB_Segment [] wblut.hemesh.HE_MeshStructure.getSegments | ( | ) |
Gets the segments.
List<HE_Face> wblut.hemesh.HE_MeshStructure.getSharedFaces | ( | final HE_Vertex | v1, |
final HE_Vertex | v2 | ||
) |
v1 | |
v2 |
List<HE_Halfedge> wblut.hemesh.HE_MeshStructure.getUnpairedHalfedges | ( | ) |
Collect all unpaired halfedges.
int [] wblut.hemesh.HE_MeshStructure.getVertexColors | ( | ) |
int [] wblut.hemesh.HE_MeshStructure.getVertexInternalLabels | ( | ) |
Map<Long, Integer> wblut.hemesh.HE_MeshStructure.getVertexKeyToIndexMap | ( | ) |
Vertex key to index.
int [] wblut.hemesh.HE_MeshStructure.getVertexLabels | ( | ) |
WB_Coord [] wblut.hemesh.HE_MeshStructure.getVertexNormals | ( | ) |
Return all vertex normals.
boolean [] wblut.hemesh.HE_MeshStructure.getVertexVisibility | ( | ) |
final HE_Vertex wblut.hemesh.HE_MeshStructure.getVertexWithIndex | ( | final int | i | ) |
Get vertex with index. Indices of mesh elements are not fixed and will change when the mesh is modified.
i | vertex index |
final HE_Vertex wblut.hemesh.HE_MeshStructure.getVertexWithKey | ( | final long | key | ) |
Get vertex with key. The key of a mesh element is unique and never changes.
key | vertex key |
final List<HE_Vertex> wblut.hemesh.HE_MeshStructure.getVertices | ( | ) |
final HE_Vertex [] wblut.hemesh.HE_MeshStructure.getVerticesAsArray | ( | ) |
Vertices as array.
List<WB_Coord> wblut.hemesh.HE_MeshStructure.getVerticesAsCoord | ( | ) |
Return all vertex positions as an immutable List of immutable WB_Coord.
double [][] wblut.hemesh.HE_MeshStructure.getVerticesAsDouble | ( | ) |
Return all vertex positions as an array .
float [][] wblut.hemesh.HE_MeshStructure.getVerticesAsFloat | ( | ) |
Return all vertex positions as an array .
HE_HalfedgeIterator wblut.hemesh.HE_MeshStructure.heItr | ( | ) |
Halfedge iterator.
void wblut.hemesh.HE_MeshStructure.orderHalfedges | ( | final List< HE_Halfedge > | halfedges | ) |
void wblut.hemesh.HE_MeshStructure.orderHalfedgesReverse | ( | final List< HE_Halfedge > | halfedges | ) |
Cycle halfedges.
halfedges | halfedges to cycle |
void wblut.hemesh.HE_MeshStructure.pairHalfedges | ( | ) |
void wblut.hemesh.HE_MeshStructure.pairHalfedges | ( | final List< HE_Halfedge > | unpairedHalfedges | ) |
Pair halfedges.
unpairedHalfedges | the unpaired halfedges |
List<HE_Halfedge> wblut.hemesh.HE_MeshStructure.pairHalfedgesOnePass | ( | ) |
Try to pair all unpaired halfedges.
final void wblut.hemesh.HE_MeshStructure.remove | ( | final HE_Face | f | ) |
Removes face.
f | face to remove |
final void wblut.hemesh.HE_MeshStructure.remove | ( | final HE_Halfedge | he | ) |
Removes halfedge.
he | halfedge to remove |
final void wblut.hemesh.HE_MeshStructure.remove | ( | final HE_Vertex | v | ) |
Removes vertex.
v | vertex to remove |
final void wblut.hemesh.HE_MeshStructure.removeFaces | ( | final HE_Face[] | faces | ) |
Removes faces.
faces | faces to remove as HE_Face[] |
final void wblut.hemesh.HE_MeshStructure.removeFaces | ( | final Collection<?extends HE_Face > | faces | ) |
Removes faces.
faces | faces to remove as Collection<? extends HE_Face> |
final void wblut.hemesh.HE_MeshStructure.removeHalfedges | ( | final HE_Halfedge[] | halfedges | ) |
Removes halfedges.
halfedges | halfedges to remove as HE_Halfedge[] |
final void wblut.hemesh.HE_MeshStructure.removeHalfedges | ( | final Collection<?extends HE_Halfedge > | halfedges | ) |
Removes halfedges.
halfedges | halfedges to remove as Collection<? extends HE_Halfedge> |
final void wblut.hemesh.HE_MeshStructure.removeVertices | ( | final HE_Vertex[] | vertices | ) |
Removes vertices.
vertices | vertices to remove as HE_Vertex[] |
final void wblut.hemesh.HE_MeshStructure.removeVertices | ( | final Collection<?extends HE_Vertex > | vertices | ) |
Removes vertices.
vertices | vertices to remove as Collection<? extends HE_Vertex> |
|
protected |
mesh |
|
protected |
Replace faces.
faces | faces to replace with as HE_Face[] |
|
protected |
Replace faces.
faces | faces to replace with as Collection<? extends HE_Face> |
|
protected |
mesh |
|
protected |
Replace halfedges.
halfedges | halfedges to replace with as HE_Halfedge[] |
|
protected |
Replace halfedges.
halfedges | halfedges to replace with as Collection<? extends HE_Halfedge> |
|
protected |
mesh |
|
protected |
Replace vertices.
vertices | vertices to replace with as HE_Vertex[] |
|
protected |
Replace vertices.
vertices | vertices to replace with as Collection<? extends HE_Vertex> |
|
protected |
Reset all edge labels to -1.
void wblut.hemesh.HE_MeshStructure.resetEdgeLabels | ( | ) |
Reset all edge labels to -1.
|
protected |
Reset face labels to -1.
void wblut.hemesh.HE_MeshStructure.resetFaceLabels | ( | ) |
Reset all face labels to -1.
|
protected |
Reset all halfedge labels to -1.
void wblut.hemesh.HE_MeshStructure.resetHalfedgeLabels | ( | ) |
Reset all halfedge labels to -1.
|
protected |
Reset all internal labels to -1.
void wblut.hemesh.HE_MeshStructure.resetLabels | ( | ) |
Reset all labels.
|
protected |
Reset all vertex labels to -1.
void wblut.hemesh.HE_MeshStructure.resetVertexLabels | ( | ) |
Reset all vertex labels to -1.
|
protected |
Set edge labels to value.
label |
void wblut.hemesh.HE_MeshStructure.setEdgeLabels | ( | final int | label | ) |
Reset all edge labels to value.
label |
void wblut.hemesh.HE_MeshStructure.setFace | ( | final HE_Halfedge | he, |
final HE_Face | f | ||
) |
Link face to halfedge
he | |
f |
void wblut.hemesh.HE_MeshStructure.setFaceColor | ( | final int | color | ) |
color |
void wblut.hemesh.HE_MeshStructure.setFaceColorWithInternalLabel | ( | final int | color, |
final int | i | ||
) |
color | |
i |
void wblut.hemesh.HE_MeshStructure.setFaceColorWithLabel | ( | final int | color, |
final int | i | ||
) |
color | |
i |
void wblut.hemesh.HE_MeshStructure.setFaceColorWithOtherInternalLabel | ( | final int | color, |
final int | i | ||
) |
color | |
i |
void wblut.hemesh.HE_MeshStructure.setFaceColorWithOtherLabel | ( | final int | color, |
final int | i | ||
) |
color | |
i |
|
protected |
Set face labels to value.
label |
void wblut.hemesh.HE_MeshStructure.setFaceLabels | ( | final int | label | ) |
Reset all face labels to value.
label |
void wblut.hemesh.HE_MeshStructure.setHalfedge | ( | final HE_Face | f, |
final HE_Halfedge | he | ||
) |
Link halfedge to face
f | |
he |
void wblut.hemesh.HE_MeshStructure.setHalfedge | ( | final HE_Vertex | v, |
final HE_Halfedge | he | ||
) |
Link halfedge to vertex
v | |
he |
void wblut.hemesh.HE_MeshStructure.setHalfedgeColor | ( | final int | color | ) |
color |
void wblut.hemesh.HE_MeshStructure.setHalfedgeColorWithInternalLabel | ( | final int | color, |
final int | i | ||
) |
color | |
i |
void wblut.hemesh.HE_MeshStructure.setHalfedgeColorWithLabel | ( | final int | color, |
final int | i | ||
) |
color | |
i |
void wblut.hemesh.HE_MeshStructure.setHalfedgeColorWithOtherInternalLabel | ( | final int | color, |
final int | i | ||
) |
color | |
i |
void wblut.hemesh.HE_MeshStructure.setHalfedgeColorWithOtherLabel | ( | final int | color, |
final int | i | ||
) |
color | |
i |
|
protected |
Det edge labels to value.
label |
void wblut.hemesh.HE_MeshStructure.setHalfedgeLabels | ( | final int | label | ) |
Reset all halfedge labels to value.
label |
void wblut.hemesh.HE_MeshStructure.setNext | ( | final HE_Halfedge | he, |
final HE_Halfedge | hen | ||
) |
Link hen to he as next halfedge, he is linked as previous halfedge to he.
he | |
hen |
void wblut.hemesh.HE_MeshStructure.setPair | ( | final HE_Halfedge | he1, |
final HE_Halfedge | he2 | ||
) |
Pair two halfedges
he1 | |
he2 |
void wblut.hemesh.HE_MeshStructure.setVertex | ( | final HE_Halfedge | he, |
final HE_Vertex | v | ||
) |
Link vertex to halfedge
he | |
v |
void wblut.hemesh.HE_MeshStructure.setVertex | ( | final HE_Vertex | v, |
final double | x, | ||
final double | y, | ||
final double | z | ||
) |
void wblut.hemesh.HE_MeshStructure.setVertex | ( | final HE_Vertex | v, |
final double | x, | ||
final double | y | ||
) |
void wblut.hemesh.HE_MeshStructure.setVertexColor | ( | final int | color | ) |
color |
void wblut.hemesh.HE_MeshStructure.setVertexColorWithInternalLabel | ( | final int | color, |
final int | i | ||
) |
color | |
i |
void wblut.hemesh.HE_MeshStructure.setVertexColorWithLabel | ( | final int | color, |
final int | i | ||
) |
color | |
i |
void wblut.hemesh.HE_MeshStructure.setVertexColorWithOtherInternalLabel | ( | final int | color, |
final int | i | ||
) |
color | |
i |
void wblut.hemesh.HE_MeshStructure.setVertexColorWithOtherLabel | ( | final int | color, |
final int | i | ||
) |
color | |
i |
|
protected |
Set all vertex labels to value.
label |
void wblut.hemesh.HE_MeshStructure.setVertexLabels | ( | final int | label | ) |
Set all vertex labels to value.
label |
void wblut.hemesh.HE_MeshStructure.setVertexWithIndex | ( | final int | index, |
final WB_Coord | c | ||
) |
void wblut.hemesh.HE_MeshStructure.setVertexWithIndex | ( | final int | index, |
final double | x, | ||
final double | y, | ||
final double | z | ||
) |
void wblut.hemesh.HE_MeshStructure.setVertexWithIndex | ( | final int | index, |
final double | x, | ||
final double | y | ||
) |
void wblut.hemesh.HE_MeshStructure.setVertexWithKey | ( | final long | key, |
final WB_Coord | c | ||
) |
void wblut.hemesh.HE_MeshStructure.setVertexWithKey | ( | final long | key, |
final double | x, | ||
final double | y, | ||
final double | z | ||
) |
void wblut.hemesh.HE_MeshStructure.setVertexWithKey | ( | final long | key, |
final double | x, | ||
final double | y | ||
) |
void wblut.hemesh.HE_MeshStructure.setVerticesFromDouble | ( | final double | values[][] | ) |
Set vertex positions to values in a 2D array. If length of array is not the same as number of vertices, nothing happens.
values | 2D array of double. First index is number of vertices, second index is 3 (x-,y- and z-coordinate) |
void wblut.hemesh.HE_MeshStructure.setVerticesFromFloat | ( | final double[] | values | ) |
Set vertex positions to values in a 1D array. If length of array is not 3* number of vertices, nothing happens.
values | 1D array of float. 3 values, x,y, and z, per point |
void wblut.hemesh.HE_MeshStructure.setVerticesFromFloat | ( | final float[] | values | ) |
Set vertex positions to values in a 1D array. If length of array is not 3* number of vertices, nothing happens.
values | 1D array of float. 3 values, x,y, and z, per point |
void wblut.hemesh.HE_MeshStructure.setVerticesFromFloat | ( | final float | values[][] | ) |
Set vertex positions to values in a 2D array. If length of array is not the same as number of vertices, nothing happens.
values | 2D array of float. First index is number of vertices, second index is 3 (x-,y- and z-coordinate) |
void wblut.hemesh.HE_MeshStructure.setVerticesFromFloat | ( | final int[] | values | ) |
Set vertex positions to values in a 1D array. If length of array is not 3* number of vertices, nothing happens.
values | 1D array of float. 3 values, x,y, and z, per point |
void wblut.hemesh.HE_MeshStructure.setVerticesFromInt | ( | final int | values[][] | ) |
Set vertex positions to values in a 2D array. If length of array is not the same as number of vertices, nothing happens.
values | 2D array of int. First index is number of vertices, second index is 3 (x-,y- and z-coordinate) |
void wblut.hemesh.HE_MeshStructure.setVerticesFromPoint | ( | final List<?extends WB_Coord > | values | ) |
Set vertex positions to List of WB_Coord. If the size of the List is not the same as number of vertices, nothing happens.
values | array of WB_Coord. |
void wblut.hemesh.HE_MeshStructure.setVerticesFromPoint | ( | final WB_Coord[] | values | ) |
Set vertex positions to array of WB_Coord. If length of array is not the same as number of vertices, nothing happens.
values | array of WB_Coord. |
void wblut.hemesh.HE_MeshStructure.sort | ( | ) |
Sort all faces and vertices in lexographical order
void wblut.hemesh.HE_MeshStructure.sort | ( | final HE_FaceSort | faceSort, |
final HE_VertexSort | vertexSort | ||
) |
void wblut.hemesh.HE_MeshStructure.uncapBoundaryHalfedges | ( | ) |
Uncap halfedges.
HE_VertexIterator wblut.hemesh.HE_MeshStructure.vItr | ( | ) |
Vertex iterator.
|
protected |
|
protected |
|
protected |
|
protected |