HE_Mesh2014
2.0.11
|
Public Member Functions | |
HE_MeshStructure () | |
HE_MeshStructure (final HE_MeshStructure ms) | |
void | getFacesWithNormal (final WB_Coord n, final double ta) |
final void | add (final HE_Face f) |
final void | add (final HE_Halfedge he) |
final void | add (final HE_Vertex v) |
final void | addFaces (final HE_Face[] faces) |
final void | addFaces (final Collection< HE_Face > faces) |
final void | addFaces (final HE_MeshStructure source) |
final void | addHalfedges (final HE_Halfedge[] halfedges) |
final void | addHalfedges (final Collection< HE_Halfedge > halfedges) |
final void | addHalfedges (final HE_MeshStructure source) |
final void | addEdges (final HE_MeshStructure source) |
final void | addVertices (final HE_Vertex[] vertices) |
final void | addVertices (final HE_MeshStructure source) |
final void | addVertices (final Collection< HE_Vertex > vertices) |
void | clear () |
final void | clearFaces () |
final void | clearHalfedges () |
final void | clearEdges () |
final void | clearVertices () |
final boolean | contains (final HE_Face f) |
final boolean | contains (final HE_Halfedge he) |
final boolean | contains (final HE_Vertex v) |
final WB_AABB | getAABB () |
final WB_Sphere | getBoundingSphere () |
final HE_Face | getFaceByIndex (final int i) |
final HE_Face | getFaceWithIndex (final int i) |
final HE_Halfedge | getHalfedgeByIndex (final int i) |
final HE_Halfedge | getHalfedgeWithIndex (final int i) |
final HE_Halfedge | getEdgeWithIndex (final int i) |
final HE_Halfedge | getEdgeByIndex (final int i) |
final HE_Vertex | getVertexByIndex (final int i) |
final HE_Vertex | getVertexWithIndex (final int i) |
final double[] | getLimits () |
final double[] | limits () |
int | getNumberOfEdges () |
final int | getNumberOfFaces () |
final int | getNumberOfHalfedges () |
final int | getNumberOfVertices () |
final void | remove (final HE_Face f) |
final void | remove (final HE_Halfedge he) |
final void | remove (final HE_Vertex v) |
final void | removeFace (final int i) |
final void | removeFaces (final HE_Face[] faces) |
final void | removeFaces (final Collection< HE_Face > faces) |
final void | removeHalfedges (final HE_Halfedge[] halfedges) |
final void | removeHalfedges (final Collection< HE_Halfedge > halfedges) |
final void | removeVertex (final int i) |
final void | removeVertices (final HE_Vertex[] vertices) |
final void | removeVertices (final Collection< HE_Vertex > vertices) |
final List< HE_Vertex > | getVertices () |
final List< HE_Halfedge > | getHalfedges () |
final List< HE_Halfedge > | getEdges () |
final List< HE_Face > | getFaces () |
final boolean | containsFace (final long key) |
final boolean | containsHalfedge (final long key) |
final boolean | containsEdge (final long key) |
final boolean | containsVertex (final long key) |
final int | getIndex (final HE_Face f) |
final int | getIndex (final HE_Vertex v) |
HE_VertexIterator | vItr () |
HE_EdgeIterator | eItr () |
HE_HalfedgeIterator | heItr () |
HE_FaceIterator | fItr () |
final HE_Halfedge[] | getEdgesAsArray () |
final List< HE_Halfedge > | getEdgesAsList () |
final HE_Face | getFaceByKey (final long key) |
final HE_Face | getFaceWithKey (final long key) |
final HE_Face[] | getFacesAsArray () |
final List< HE_Face > | getFacesAsList () |
final HE_Halfedge | getHalfedgeByKey (final long key) |
final HE_Halfedge | getHalfedgeWithKey (final long key) |
final HE_Halfedge | getEdgeWithKey (final long key) |
final HE_Halfedge[] | getHalfedgesAsArray () |
final List< HE_Halfedge > | getHalfedgesAsList () |
final HE_Vertex | getVertexByKey (final long key) |
final HE_Vertex | getVertexWithKey (final long key) |
final HE_Vertex[] | getVerticesAsArray () |
final List< HE_Vertex > | getVerticesAsList () |
HE_Path | createPathFromIndices (final int[] vertices, final boolean loop) |
HE_Halfedge | searchHalfedgeFromTo (final HE_Vertex v0, final HE_Vertex v1) |
void | setFace (final HE_Halfedge he, final HE_Face f) |
void | clearFace (final HE_Halfedge he) |
void | setPair (final HE_Halfedge he1, final HE_Halfedge he2) |
void | clearPair (final HE_Halfedge he) |
void | setNext (final HE_Halfedge he, final HE_Halfedge hen) |
void | setVertex (final HE_Halfedge he, final HE_Vertex v) |
void | setHalfedge (final HE_Face f, final HE_Halfedge he) |
void | clearHalfedge (final HE_Face f) |
void | setHalfedge (final HE_Vertex v, final HE_Halfedge he) |
void | clearHalfedge (final HE_Vertex v) |
void | clearNext (final HE_Halfedge he) |
void | clearPrev (final HE_Halfedge he) |
void | clearVertex (final HE_Halfedge he) |
void | fixHalfedgeVertexAssignment () |
List< HE_Halfedge > | getUnpairedHalfedges () |
![]() | |
HE_MeshElement () | |
void | clearVisited () |
void | setVisited () |
boolean | isVisited () |
int | hashCode () |
boolean | equals (final Object other) |
void | copyProperties (final HE_MeshElement el) |
![]() | |
HE_Element () | |
final void | setInternalLabel (final int label) |
final void | setTemporaryLabel (final int label) |
final void | setLabel (final int label) |
final long | getKey () |
final int | getInternalLabel () |
final int | getTemporaryLabel () |
final int | getLabel () |
int | hashCode () |
boolean | equals (final Object other) |
void | copyProperties (final HE_Element el) |
Protected Member Functions | |
final void | replaceFaces (final HE_Face[] faces) |
final void | replaceFaces (final HE_Mesh mesh) |
final void | replaceVertices (final HE_Mesh mesh) |
final void | replaceHalfedges (final HE_Mesh mesh) |
final void | replaceFaces (final List< HE_Face > faces) |
final void | replaceHalfedges (final HE_Halfedge[] halfedges) |
final void | replaceHalfedges (final List< HE_Halfedge > halfedges) |
final void | replaceVertices (final HE_Vertex[] vertices) |
final void | replaceVertices (final List< HE_Vertex > vertices) |
![]() | |
abstract void | clear () |
![]() | |
abstract void | clear () |
Protected Attributes | |
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 |
![]() | |
boolean | visited |
![]() | |
final long | _key |
long | _labels |
Additional Inherited Members | |
![]() | |
static final WB_GeometryFactory | geometryfactory = WB_GeometryFactory.instance() |
static final WB_ProgressTracker | tracker = WB_ProgressTracker.instance() |
![]() | |
static AtomicLong | _currentKey =new AtomicLong(0) |
Collection of mesh elements. Contains methods to manipulate selections
wblut.hemesh.HE_MeshStructure.HE_MeshStructure | ( | ) |
Instantiates a new HE_Selection.
wblut.hemesh.HE_MeshStructure.HE_MeshStructure | ( | final HE_MeshStructure | ms | ) |
ms |
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 |
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< HE_Face > | faces | ) |
Adds faces.
faces | faces to add as List<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< HE_Halfedge > | halfedges | ) |
Adds halfedges.
halfedges | halfedges to add as List<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< HE_Vertex > | vertices | ) |
Adds vertices.
vertices | vertices to add as List<HE_Vertex> |
void wblut.hemesh.HE_MeshStructure.clear | ( | ) |
Clear entire structure.
final void wblut.hemesh.HE_MeshStructure.clearEdges | ( | ) |
Clear edges.
void wblut.hemesh.HE_MeshStructure.clearFace | ( | final HE_Halfedge | he | ) |
he |
final void wblut.hemesh.HE_MeshStructure.clearFaces | ( | ) |
Clear faces.
void wblut.hemesh.HE_MeshStructure.clearHalfedge | ( | final HE_Face | f | ) |
f |
void wblut.hemesh.HE_MeshStructure.clearHalfedge | ( | final HE_Vertex | v | ) |
v |
final void wblut.hemesh.HE_MeshStructure.clearHalfedges | ( | ) |
Clear halfedges.
void wblut.hemesh.HE_MeshStructure.clearNext | ( | final HE_Halfedge | he | ) |
he |
void wblut.hemesh.HE_MeshStructure.clearPair | ( | final HE_Halfedge | he | ) |
he |
void wblut.hemesh.HE_MeshStructure.clearPrev | ( | final HE_Halfedge | he | ) |
he |
void wblut.hemesh.HE_MeshStructure.clearVertex | ( | final HE_Halfedge | he | ) |
he |
final void wblut.hemesh.HE_MeshStructure.clearVertices | ( | ) |
Clear vertices.
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 |
HE_EdgeIterator wblut.hemesh.HE_MeshStructure.eItr | ( | ) |
Edge iterator.
HE_FaceIterator wblut.hemesh.HE_MeshStructure.fItr | ( | ) |
void wblut.hemesh.HE_MeshStructure.fixHalfedgeVertexAssignment | ( | ) |
Fix halfedge vertex assignment.
final WB_AABB wblut.hemesh.HE_MeshStructure.getAABB | ( | ) |
Get axis-aligned bounding box surrounding mesh.
final WB_Sphere wblut.hemesh.HE_MeshStructure.getBoundingSphere | ( | ) |
final HE_Halfedge wblut.hemesh.HE_MeshStructure.getEdgeByIndex | ( | final int | i | ) |
final List<HE_Halfedge> wblut.hemesh.HE_MeshStructure.getEdges | ( | ) |
final HE_Halfedge [] wblut.hemesh.HE_MeshStructure.getEdgesAsArray | ( | ) |
Edges as array.
final List<HE_Halfedge> wblut.hemesh.HE_MeshStructure.getEdgesAsList | ( | ) |
Edges as arrayList.
final HE_Halfedge wblut.hemesh.HE_MeshStructure.getEdgeWithIndex | ( | final int | i | ) |
i |
final HE_Halfedge wblut.hemesh.HE_MeshStructure.getEdgeWithKey | ( | final long | key | ) |
Get edge.
key | halfedge key |
final HE_Face wblut.hemesh.HE_MeshStructure.getFaceByIndex | ( | final int | i | ) |
final HE_Face wblut.hemesh.HE_MeshStructure.getFaceByKey | ( | final long | key | ) |
final List<HE_Face> wblut.hemesh.HE_MeshStructure.getFaces | ( | ) |
final HE_Face [] wblut.hemesh.HE_MeshStructure.getFacesAsArray | ( | ) |
Faces as array.
final List<HE_Face> wblut.hemesh.HE_MeshStructure.getFacesAsList | ( | ) |
Faces as arrayList.
void wblut.hemesh.HE_MeshStructure.getFacesWithNormal | ( | final WB_Coord | n, |
final double | ta | ||
) |
n | |
ta |
final HE_Face wblut.hemesh.HE_MeshStructure.getFaceWithIndex | ( | final int | i | ) |
i |
final HE_Face wblut.hemesh.HE_MeshStructure.getFaceWithKey | ( | final long | key | ) |
Get face.
key | face key |
final HE_Halfedge wblut.hemesh.HE_MeshStructure.getHalfedgeByIndex | ( | final int | i | ) |
final HE_Halfedge wblut.hemesh.HE_MeshStructure.getHalfedgeByKey | ( | final long | key | ) |
Get halfedge.
key | halfedge key |
final List<HE_Halfedge> wblut.hemesh.HE_MeshStructure.getHalfedges | ( | ) |
final HE_Halfedge [] wblut.hemesh.HE_MeshStructure.getHalfedgesAsArray | ( | ) |
Halfedges as array.
final List<HE_Halfedge> wblut.hemesh.HE_MeshStructure.getHalfedgesAsList | ( | ) |
Halfedges as arrayList.
final HE_Halfedge wblut.hemesh.HE_MeshStructure.getHalfedgeWithIndex | ( | final int | i | ) |
i |
final HE_Halfedge wblut.hemesh.HE_MeshStructure.getHalfedgeWithKey | ( | final long | key | ) |
Get halfedge.
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 |
final double [] wblut.hemesh.HE_MeshStructure.getLimits | ( | ) |
Get range of vertex coordinates.
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<HE_Halfedge> wblut.hemesh.HE_MeshStructure.getUnpairedHalfedges | ( | ) |
Collect all unpaired halfedges.
final HE_Vertex wblut.hemesh.HE_MeshStructure.getVertexByIndex | ( | final int | i | ) |
final HE_Vertex wblut.hemesh.HE_MeshStructure.getVertexByKey | ( | final long | key | ) |
final HE_Vertex wblut.hemesh.HE_MeshStructure.getVertexWithIndex | ( | final int | i | ) |
i |
final HE_Vertex wblut.hemesh.HE_MeshStructure.getVertexWithKey | ( | final long | key | ) |
Get vertex.
key | vertex key |
final List<HE_Vertex> wblut.hemesh.HE_MeshStructure.getVertices | ( | ) |
final HE_Vertex [] wblut.hemesh.HE_MeshStructure.getVerticesAsArray | ( | ) |
Vertices as array.
final List<HE_Vertex> wblut.hemesh.HE_MeshStructure.getVerticesAsList | ( | ) |
Vertices as arrayList.
HE_HalfedgeIterator wblut.hemesh.HE_MeshStructure.heItr | ( | ) |
Hslfedge iterator.
final double [] wblut.hemesh.HE_MeshStructure.limits | ( | ) |
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.removeFace | ( | final int | i | ) |
i |
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< HE_Face > | faces | ) |
Removes faces.
faces | faces to remove as List<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< HE_Halfedge > | halfedges | ) |
Removes halfedges.
halfedges | halfedges to remove as FastTable<HE_Halfedge> |
final void wblut.hemesh.HE_MeshStructure.removeVertex | ( | final int | i | ) |
i |
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< HE_Vertex > | vertices | ) |
Removes vertices.
vertices | vertices to remove as FastTable<HE_Vertex> |
|
protected |
Replace faces.
faces | faces to replace with as HE_Face[] |
|
protected |
mesh |
|
protected |
Replace faces.
faces | faces to replace with as List<HE_Face> |
|
protected |
mesh |
|
protected |
Replace halfedges.
halfedges | halfedges to replace with as HE_Halfedge[] |
|
protected |
Replace halfedges.
halfedges | halfedges to replace with as List<HE_Halfedge> |
|
protected |
mesh |
|
protected |
Replace vertices.
vertices | vertices to replace with as HE_Vertex[] |
|
protected |
Replace vertices.
vertices | vertices to replace with as List<HE_Vertex> |
HE_Halfedge wblut.hemesh.HE_MeshStructure.searchHalfedgeFromTo | ( | final HE_Vertex | v0, |
final HE_Vertex | v1 | ||
) |
v0 | |
v1 |
void wblut.hemesh.HE_MeshStructure.setFace | ( | final HE_Halfedge | he, |
final HE_Face | f | ||
) |
he | |
f |
void wblut.hemesh.HE_MeshStructure.setHalfedge | ( | final HE_Face | f, |
final HE_Halfedge | he | ||
) |
f | |
he |
void wblut.hemesh.HE_MeshStructure.setHalfedge | ( | final HE_Vertex | v, |
final HE_Halfedge | he | ||
) |
v | |
he |
void wblut.hemesh.HE_MeshStructure.setNext | ( | final HE_Halfedge | he, |
final HE_Halfedge | hen | ||
) |
he | |
hen |
void wblut.hemesh.HE_MeshStructure.setPair | ( | final HE_Halfedge | he1, |
final HE_Halfedge | he2 | ||
) |
he1 | |
he2 |
void wblut.hemesh.HE_MeshStructure.setVertex | ( | final HE_Halfedge | he, |
final HE_Vertex | v | ||
) |
he | |
v |
HE_VertexIterator wblut.hemesh.HE_MeshStructure.vItr | ( | ) |
Vertex iterator.
|
protected |
|
protected |
|
protected |