HE_Mesh  6.0.1
wblut.hemesh.HE_MeshStructure Interface Reference
+ Inheritance diagram for wblut.hemesh.HE_MeshStructure:

Public Member Functions

void add (HE_Element el)
 
void add (HE_Face f)
 
void add (HE_Halfedge he)
 
void add (HE_Mesh mesh)
 
void add (HE_Vertex v)
 
void addFaces (Collection<?extends HE_Face > faces)
 
void addFaces (HE_Face[] faces)
 
void addFaces (HE_MeshStructure source)
 
void addHalfedges (Collection<?extends HE_Halfedge > halfedges)
 
void addHalfedges (HE_Halfedge[] halfedges)
 
void addHalfedges (HE_MeshStructure source)
 
void addVertices (Collection<?extends HE_Vertex > vertices)
 
void addVertices (HE_MeshStructure source)
 
void addVertices (HE_Vertex[] vertices)
 
void clear ()
 
void clearEdges ()
 
void clearFaces ()
 
void clearHalfedges ()
 
void clearVertices ()
 
boolean contains (HE_Element el)
 
Iterator< HE_HalfedgeeItr ()
 
Iterator< HE_FacefItr ()
 
WB_AABB getAABB ()
 
WB_Sphere getBoundingSphere ()
 
List< HE_HalfedgegetEdges ()
 
HE_Halfedge[] getEdgesAsArray ()
 
HE_Halfedge getEdgeWithIndex (int i)
 
List< HE_FacegetFaces ()
 
HE_Face[] getFacesAsArray ()
 
HE_Face getFaceWithIndex (int i)
 
List< HE_HalfedgegetHalfedges ()
 
HE_Halfedge[] getHalfedgesAsArray ()
 
HE_Halfedge getHalfedgeWithIndex (int i)
 
double[] getLimits ()
 
String getName ()
 
int getNumberOfEdges ()
 
int getNumberOfFaces ()
 
int getNumberOfHalfedges ()
 
int getNumberOfVertices ()
 
HE_Vertex getVertexWithIndex (int i)
 
List< HE_VertexgetVertices ()
 
HE_Vertex[] getVerticesAsArray ()
 
Iterator< HE_HalfedgeheItr ()
 
HE_Mesh modify (HEM_Modifier modifier)
 
void remove (HE_Face f)
 
void remove (HE_Halfedge he)
 
void remove (HE_Vertex v)
 
void removeEdges (Collection<?extends HE_Halfedge > edges)
 
void removeEdges (HE_Halfedge[] edges)
 
void removeFaces (Collection<?extends HE_Face > faces)
 
void removeFaces (HE_Face[] faces)
 
void removeHalfedges (Collection<?extends HE_Halfedge > halfedges)
 
void removeHalfedges (HE_Halfedge[] halfedges)
 
void removeVertices (Collection<?extends HE_Vertex > vertices)
 
void removeVertices (HE_Vertex[] vertices)
 
void setName (String name)
 
HE_Mesh simplify (HES_Simplifier simplifier)
 
HE_Mesh subdivide (HES_Subdividor subdividor)
 
HE_Mesh subdivide (HES_Subdividor subdividor, int rep)
 
Iterator< HE_VertexvItr ()
 
HE_Face getFaceWithKey (long key)
 
HE_Halfedge getHalfedgeWithKey (long key)
 
HE_Halfedge getEdgeWithKey (long key)
 
HE_Vertex getVertexWithKey (long key)
 
boolean contains (HE_Face f)
 
boolean contains (HE_Halfedge he)
 
boolean contains (HE_Vertex v)
 
boolean containsFace (long key)
 
boolean containsHalfedge (long key)
 
boolean containsEdge (long key)
 
boolean containsVertex (long key)
 
int getIndex (HE_Face f)
 
int getIndex (HE_Halfedge edge)
 
int getIndex (HE_Vertex v)
 

Detailed Description

Collection of mesh elements. Contains methods to manipulate the data structures.

Author
Frederik Vanhoutte (W:Blut)

Member Function Documentation

void wblut.hemesh.HE_MeshStructure.add ( HE_Element  el)
void wblut.hemesh.HE_MeshStructure.add ( HE_Face  f)

Add face.

Parameters
fface to add
void wblut.hemesh.HE_MeshStructure.add ( HE_Halfedge  he)

Adds halfedge.

Parameters
hehalfedge to add
void wblut.hemesh.HE_MeshStructure.add ( HE_Mesh  mesh)

Add all mesh elements to this mesh. No copies are made.

Parameters
meshmesh to add
void wblut.hemesh.HE_MeshStructure.add ( HE_Vertex  v)

Add vertex.

Parameters
vvertex to add
void wblut.hemesh.HE_MeshStructure.addFaces ( Collection<?extends HE_Face faces)

Adds faces.

Parameters
facesfaces to add as Collection<? extends HE_Face>
void wblut.hemesh.HE_MeshStructure.addFaces ( HE_Face[]  faces)

Adds faces.

Parameters
facesfaces to add as HE_Face[]
void wblut.hemesh.HE_MeshStructure.addFaces ( HE_MeshStructure  source)
Parameters
source
void wblut.hemesh.HE_MeshStructure.addHalfedges ( Collection<?extends HE_Halfedge halfedges)

Adds halfedges.

Parameters
halfedgeshalfedges to add as Collection<? extends HE_Halfedge>
void wblut.hemesh.HE_MeshStructure.addHalfedges ( HE_Halfedge[]  halfedges)

Adds halfedges.

Parameters
halfedgeshalfedges to add as HE_Halfedge[]
void wblut.hemesh.HE_MeshStructure.addHalfedges ( HE_MeshStructure  source)
Parameters
source
void wblut.hemesh.HE_MeshStructure.addVertices ( Collection<?extends HE_Vertex vertices)

Adds vertices.

Parameters
verticesvertices to add as Collection<? extends HE_Vertex>
void wblut.hemesh.HE_MeshStructure.addVertices ( HE_MeshStructure  source)
Parameters
source
void wblut.hemesh.HE_MeshStructure.addVertices ( HE_Vertex[]  vertices)

Adds vertices.

Parameters
verticesvertices to add as HE_Vertex[]
void wblut.hemesh.HE_MeshStructure.clear ( )

Clear entire structure.

Implemented in wblut.hemesh.HE_Mesh, and wblut.hemesh.HE_Selection.

void wblut.hemesh.HE_MeshStructure.clearEdges ( )

Clear edges.

Implemented in wblut.hemesh.HE_Mesh, and wblut.hemesh.HE_Selection.

void wblut.hemesh.HE_MeshStructure.clearFaces ( )

Clear faces.

Implemented in wblut.hemesh.HE_Mesh, and wblut.hemesh.HE_Selection.

void wblut.hemesh.HE_MeshStructure.clearHalfedges ( )

Clear halfedges.

Implemented in wblut.hemesh.HE_Mesh, and wblut.hemesh.HE_Selection.

void wblut.hemesh.HE_MeshStructure.clearVertices ( )

Clear vertices.

Implemented in wblut.hemesh.HE_Mesh, and wblut.hemesh.HE_Selection.

boolean wblut.hemesh.HE_MeshStructure.contains ( HE_Element  el)
boolean wblut.hemesh.HE_MeshStructure.contains ( HE_Face  f)
Parameters
f
Returns
boolean wblut.hemesh.HE_MeshStructure.contains ( HE_Halfedge  he)
Parameters
he
Returns
boolean wblut.hemesh.HE_MeshStructure.contains ( HE_Vertex  v)
Parameters
v
Returns
boolean wblut.hemesh.HE_MeshStructure.containsEdge ( long  key)
Parameters
key
Returns
boolean wblut.hemesh.HE_MeshStructure.containsFace ( long  key)
Parameters
key
Returns
boolean wblut.hemesh.HE_MeshStructure.containsHalfedge ( long  key)
Parameters
key
Returns
boolean wblut.hemesh.HE_MeshStructure.containsVertex ( long  key)
Parameters
key
Returns
Iterator<HE_Halfedge> wblut.hemesh.HE_MeshStructure.eItr ( )

Edge iterator.

Returns
edge iterator

Implemented in wblut.hemesh.HE_Mesh, and wblut.hemesh.HE_Selection.

Iterator<HE_Face> wblut.hemesh.HE_MeshStructure.fItr ( )

Face iterator.

Returns
face iterator

Implemented in wblut.hemesh.HE_Mesh, and wblut.hemesh.HE_Selection.

WB_AABB wblut.hemesh.HE_MeshStructure.getAABB ( )

Get axis-aligned bounding box surrounding mesh.

Returns
WB_AABB axis-aligned bounding box

Implemented in wblut.hemesh.HE_Mesh, and wblut.hemesh.HE_Selection.

WB_Sphere wblut.hemesh.HE_MeshStructure.getBoundingSphere ( )
Returns

Implemented in wblut.hemesh.HE_Mesh, and wblut.hemesh.HE_Selection.

List<HE_Halfedge> wblut.hemesh.HE_MeshStructure.getEdges ( )
Returns

Implemented in wblut.hemesh.HE_Mesh, and wblut.hemesh.HE_Selection.

HE_Halfedge [] wblut.hemesh.HE_MeshStructure.getEdgesAsArray ( )

Edges as array.

Returns
all edges as HE_Halfedge[]

Implemented in wblut.hemesh.HE_Mesh, and wblut.hemesh.HE_Selection.

HE_Halfedge wblut.hemesh.HE_MeshStructure.getEdgeWithIndex ( int  i)

Get edge with index. Indices of mesh elements are not fixed and will change when the mesh is modified.

Parameters
iedge index
Returns
HE_Halfedge wblut.hemesh.HE_MeshStructure.getEdgeWithKey ( long  key)
Parameters
key
Returns
List<HE_Face> wblut.hemesh.HE_MeshStructure.getFaces ( )
Returns

Implemented in wblut.hemesh.HE_Mesh, and wblut.hemesh.HE_Selection.

HE_Face [] wblut.hemesh.HE_MeshStructure.getFacesAsArray ( )

Faces as array.

Returns
all faces as HE_Face[]

Implemented in wblut.hemesh.HE_Mesh, and wblut.hemesh.HE_Selection.

HE_Face wblut.hemesh.HE_MeshStructure.getFaceWithIndex ( int  i)

Get face with index. Indices of mesh elements are not fixed and will change when the mesh is modified.

Parameters
iface index
Returns
HE_Face wblut.hemesh.HE_MeshStructure.getFaceWithKey ( long  key)
Parameters
key
Returns
List<HE_Halfedge> wblut.hemesh.HE_MeshStructure.getHalfedges ( )
Returns

Implemented in wblut.hemesh.HE_Mesh, and wblut.hemesh.HE_Selection.

HE_Halfedge [] wblut.hemesh.HE_MeshStructure.getHalfedgesAsArray ( )

Halfedges as array.

Returns
all halfedges as HE_Halfedge[]

Implemented in wblut.hemesh.HE_Mesh, and wblut.hemesh.HE_Selection.

HE_Halfedge wblut.hemesh.HE_MeshStructure.getHalfedgeWithIndex ( int  i)

Get halfedge with index. Indices of mesh elements are not fixed and will change when the mesh is modified.

Parameters
ihalfedge index
Returns
HE_Halfedge wblut.hemesh.HE_MeshStructure.getHalfedgeWithKey ( long  key)
Parameters
key
Returns
int wblut.hemesh.HE_MeshStructure.getIndex ( HE_Face  f)
Parameters
f
Returns
int wblut.hemesh.HE_MeshStructure.getIndex ( HE_Halfedge  edge)
Parameters
edge
Returns
int wblut.hemesh.HE_MeshStructure.getIndex ( HE_Vertex  v)
Parameters
v
Returns
double [] wblut.hemesh.HE_MeshStructure.getLimits ( )

Get range of vertex coordinates.

Returns
array of limit values: min x, min y, min z, max x, max y, max z

Implemented in wblut.hemesh.HE_Mesh, and wblut.hemesh.HE_Selection.

String wblut.hemesh.HE_MeshStructure.getName ( )
int wblut.hemesh.HE_MeshStructure.getNumberOfEdges ( )

Number of edges.

Returns
the number of edges

Implemented in wblut.hemesh.HE_Mesh, and wblut.hemesh.HE_Selection.

int wblut.hemesh.HE_MeshStructure.getNumberOfFaces ( )

Number of faces.

Returns
the number of faces

Implemented in wblut.hemesh.HE_Mesh, and wblut.hemesh.HE_Selection.

int wblut.hemesh.HE_MeshStructure.getNumberOfHalfedges ( )

Number of halfedges.

Returns
the number of halfedges

Implemented in wblut.hemesh.HE_Mesh, and wblut.hemesh.HE_Selection.

int wblut.hemesh.HE_MeshStructure.getNumberOfVertices ( )

Number of vertices.

Returns
the number of vertices

Implemented in wblut.hemesh.HE_Mesh, and wblut.hemesh.HE_Selection.

HE_Vertex wblut.hemesh.HE_MeshStructure.getVertexWithIndex ( int  i)

Get vertex with index. Indices of mesh elements are not fixed and will change when the mesh is modified.

Parameters
ivertex index
Returns
HE_Vertex wblut.hemesh.HE_MeshStructure.getVertexWithKey ( long  key)
Parameters
key
Returns
List<HE_Vertex> wblut.hemesh.HE_MeshStructure.getVertices ( )
Returns

Implemented in wblut.hemesh.HE_Mesh, and wblut.hemesh.HE_Selection.

HE_Vertex [] wblut.hemesh.HE_MeshStructure.getVerticesAsArray ( )

Vertices as array.

Returns
all vertices as HE_Vertex[]

Implemented in wblut.hemesh.HE_Mesh, and wblut.hemesh.HE_Selection.

Iterator<HE_Halfedge> wblut.hemesh.HE_MeshStructure.heItr ( )

Halfedge iterator.

Returns
halfedge iterator

Implemented in wblut.hemesh.HE_Mesh, and wblut.hemesh.HE_Selection.

HE_Mesh wblut.hemesh.HE_MeshStructure.modify ( HEM_Modifier  modifier)

Modify the mesh.

Parameters
modifierHE_Modifier to apply
Returns
self
void wblut.hemesh.HE_MeshStructure.remove ( HE_Face  f)

Removes face.

Parameters
fface to remove
void wblut.hemesh.HE_MeshStructure.remove ( HE_Halfedge  he)

Removes halfedge.

Parameters
hehalfedge to remove
void wblut.hemesh.HE_MeshStructure.remove ( HE_Vertex  v)

Removes vertex.

Parameters
vvertex to remove
void wblut.hemesh.HE_MeshStructure.removeEdges ( Collection<?extends HE_Halfedge edges)

Removes edges.

Parameters
edgesedges to remove as Collection<? extends HE_Halfedge>
void wblut.hemesh.HE_MeshStructure.removeEdges ( HE_Halfedge[]  edges)

Removes edges.

Parameters
edgesedges to remove as HE_Halfedge[]
void wblut.hemesh.HE_MeshStructure.removeFaces ( Collection<?extends HE_Face faces)

Removes faces.

Parameters
facesfaces to remove as Collection<? extends HE_Face>
void wblut.hemesh.HE_MeshStructure.removeFaces ( HE_Face[]  faces)

Removes faces.

Parameters
facesfaces to remove as HE_Face[]
void wblut.hemesh.HE_MeshStructure.removeHalfedges ( Collection<?extends HE_Halfedge halfedges)

Removes halfedges.

Parameters
halfedgeshalfedges to remove as Collection<? extends HE_Halfedge>
void wblut.hemesh.HE_MeshStructure.removeHalfedges ( HE_Halfedge[]  halfedges)

Removes halfedges.

Parameters
halfedgeshalfedges to remove as HE_Halfedge[]
void wblut.hemesh.HE_MeshStructure.removeVertices ( Collection<?extends HE_Vertex vertices)

Removes vertices.

Parameters
verticesvertices to remove as Collection<? extends HE_Vertex>
void wblut.hemesh.HE_MeshStructure.removeVertices ( HE_Vertex[]  vertices)

Removes vertices.

Parameters
verticesvertices to remove as HE_Vertex[]
void wblut.hemesh.HE_MeshStructure.setName ( String  name)
HE_Mesh wblut.hemesh.HE_MeshStructure.simplify ( HES_Simplifier  simplifier)

Simplify.

Parameters
simplifierthe simplifier
Returns
the h e_ mesh
HE_Mesh wblut.hemesh.HE_MeshStructure.subdivide ( HES_Subdividor  subdividor)

Subdivide the mesh.

Parameters
subdividorHE_Subdividor to apply
Returns
self
HE_Mesh wblut.hemesh.HE_MeshStructure.subdivide ( HES_Subdividor  subdividor,
int  rep 
)

Subdivide the mesh a number of times.

Parameters
subdividorHE_Subdividor to apply
repsubdivision iterations. WARNING: higher values will lead to unmanageable number of faces.
Returns
self
Iterator<HE_Vertex> wblut.hemesh.HE_MeshStructure.vItr ( )

Vertex iterator.

Returns
vertex iterator

Implemented in wblut.hemesh.HE_Mesh, and wblut.hemesh.HE_Selection.


The documentation for this interface was generated from the following file: