HE_Mesh  5.1.2
wblut.hemesh.HE_Face Class Reference
+ Inheritance diagram for wblut.hemesh.HE_Face:

Public Member Functions

 HE_Face ()
 
HE_FaceEdgeCirculator feCrc ()
 
HE_FaceFaceCirculator ffCrc ()
 
HE_FaceVertexCirculator fvCrc ()
 
HE_FaceHalfedgeInnerCirculator fheiCrc ()
 
HE_FaceHalfedgeOuterCirculator fheoCrc ()
 
HE_FaceEdgeRevCirculator feRevCrc ()
 
HE_FaceFaceRevCirculator ffRevCrc ()
 
HE_FaceHalfedgeInnerRevCirculator fheiRevCrc ()
 
HE_FaceHalfedgeOuterRevCirculator fheoRevCrc ()
 
HE_FaceVertexRevCirculator fvRevCrc ()
 
long key ()
 
WB_Coord getFaceCenter ()
 
WB_Coord getFaceCenter (final double d)
 
WB_Coord getFaceNormal ()
 
WB_Coord getNonNormFaceNormal ()
 
double getFaceArea ()
 
WB_Classification getFaceType ()
 
List< HE_VertexgetUniqueFaceVertices ()
 
List< HE_VertexgetFaceVertices ()
 
List< HE_TextureCoordinategetFaceUVWs ()
 
int getFaceOrder ()
 
List< HE_HalfedgegetFaceHalfedges ()
 
List< HE_HalfedgegetFaceHalfedgesTwoSided ()
 
List< HE_HalfedgegetFaceEdges ()
 
HE_Halfedge getHalfedge ()
 
HE_Halfedge getHalfedge (final HE_Vertex v)
 
HE_Halfedge getHalfedge (final HE_Face f)
 
void push (final WB_Coord c)
 
WB_Plane toPlane ()
 
WB_Plane getPlane ()
 
WB_Plane getPlane (final double d)
 
void sort ()
 
int compareTo (final HE_Face f)
 
int[] getTriangles ()
 
int[] getTriangles (final boolean optimize)
 
WB_AABB toAABB ()
 
WB_AABB getAABB ()
 
WB_Triangle toTriangle ()
 
WB_Polygon toPolygon ()
 
WB_Polygon toOrthoPolygon ()
 
WB_Polygon toPlanarPolygon ()
 
List< HE_FacegetNeighborFaces ()
 
String toString ()
 
boolean isPlanar ()
 
boolean isBoundary ()
 
boolean isDegenerate ()
 
void copyProperties (final HE_Face el)
 
void clear ()
 
void checkValidity ()
 
int getTextureId ()
 
void setTextureId (final int i)
 
void clearPrecomputed ()
 
WB_Coord getClosestPoint (final WB_Coord p)
 
boolean isNeighbor (final HE_Face f)
 
- Public Member Functions inherited from wblut.hemesh.HE_MeshElement
 HE_MeshElement ()
 
void clearVisited ()
 
void setVisited ()
 
void setVisited (final boolean b)
 
boolean isVisited ()
 
void setVisible (final boolean b)
 
boolean isVisible ()
 
int hashCode ()
 
boolean equals (final Object other)
 
void copyProperties (final HE_MeshElement el)
 
int getColor ()
 
void setColor (final int color)
 
- Public Member Functions inherited from wblut.hemesh.HE_Element
 HE_Element ()
 
final void setLabel (final int label)
 
final long getKey ()
 
final int getInternalLabel ()
 
final int getLabel ()
 
int hashCode ()
 
boolean equals (final Object other)
 
void copyProperties (final HE_Element el)
 

Protected Member Functions

void _setHalfedge (final HE_Halfedge halfedge)
 
void _clearHalfedge ()
 
- Protected Member Functions inherited from wblut.hemesh.HE_MeshElement
abstract void clear ()
 
- Protected Member Functions inherited from wblut.hemesh.HE_Element
final void setInternalLabel (final int label)
 
abstract void clear ()
 
abstract void clearPrecomputed ()
 

Private Attributes

HE_Halfedge _halfedge
 
int textureId
 

Additional Inherited Members

- Protected Attributes inherited from wblut.hemesh.HE_MeshElement
volatile boolean visited
 
boolean visible
 
int color
 
- Protected Attributes inherited from wblut.hemesh.HE_Element
final long key
 
long labels
 
- Static Protected Attributes inherited from wblut.hemesh.HE_MeshElement
static final WB_GeometryFactory gf = new WB_GeometryFactory()
 
static final WB_ProgressTracker tracker = WB_ProgressTracker.instance()
 
- Static Protected Attributes inherited from wblut.hemesh.HE_Element
static AtomicLong currentKey = new AtomicLong(0)
 

Detailed Description

Face element of half-edge data structure.

Author
Frederik Vanhoutte (W:Blut)

Constructor & Destructor Documentation

wblut.hemesh.HE_Face.HE_Face ( )

Instantiates a new HE_Face.

Member Function Documentation

void wblut.hemesh.HE_Face._clearHalfedge ( )
protected
void wblut.hemesh.HE_Face._setHalfedge ( final HE_Halfedge  halfedge)
protected
Parameters
halfedge
void wblut.hemesh.HE_Face.checkValidity ( )
void wblut.hemesh.HE_Face.clear ( )
void wblut.hemesh.HE_Face.clearPrecomputed ( )
int wblut.hemesh.HE_Face.compareTo ( final HE_Face  f)
Parameters
f
Returns
void wblut.hemesh.HE_Face.copyProperties ( final HE_Face  el)
Parameters
el
HE_FaceEdgeCirculator wblut.hemesh.HE_Face.feCrc ( )
Returns
HE_FaceEdgeRevCirculator wblut.hemesh.HE_Face.feRevCrc ( )
Returns
HE_FaceFaceCirculator wblut.hemesh.HE_Face.ffCrc ( )
Returns
HE_FaceFaceRevCirculator wblut.hemesh.HE_Face.ffRevCrc ( )
Returns
HE_FaceHalfedgeInnerCirculator wblut.hemesh.HE_Face.fheiCrc ( )
Returns
HE_FaceHalfedgeInnerRevCirculator wblut.hemesh.HE_Face.fheiRevCrc ( )
Returns
HE_FaceHalfedgeOuterCirculator wblut.hemesh.HE_Face.fheoCrc ( )
Returns
HE_FaceHalfedgeOuterRevCirculator wblut.hemesh.HE_Face.fheoRevCrc ( )
Returns
HE_FaceVertexCirculator wblut.hemesh.HE_Face.fvCrc ( )
Returns
HE_FaceVertexRevCirculator wblut.hemesh.HE_Face.fvRevCrc ( )
Returns
WB_AABB wblut.hemesh.HE_Face.getAABB ( )
Returns
WB_Coord wblut.hemesh.HE_Face.getClosestPoint ( final WB_Coord  p)
double wblut.hemesh.HE_Face.getFaceArea ( )
Returns
WB_Coord wblut.hemesh.HE_Face.getFaceCenter ( )
Returns
WB_Coord wblut.hemesh.HE_Face.getFaceCenter ( final double  d)
Parameters
d
Returns
List<HE_Halfedge> wblut.hemesh.HE_Face.getFaceEdges ( )
Returns
List<HE_Halfedge> wblut.hemesh.HE_Face.getFaceHalfedges ( )
Returns
List<HE_Halfedge> wblut.hemesh.HE_Face.getFaceHalfedgesTwoSided ( )
Returns
WB_Coord wblut.hemesh.HE_Face.getFaceNormal ( )
Returns
int wblut.hemesh.HE_Face.getFaceOrder ( )
Returns
WB_Classification wblut.hemesh.HE_Face.getFaceType ( )
Returns
List<HE_TextureCoordinate> wblut.hemesh.HE_Face.getFaceUVWs ( )
Returns
List<HE_Vertex> wblut.hemesh.HE_Face.getFaceVertices ( )
HE_Halfedge wblut.hemesh.HE_Face.getHalfedge ( )
Returns
HE_Halfedge wblut.hemesh.HE_Face.getHalfedge ( final HE_Vertex  v)
Parameters
v
Returns
HE_Halfedge wblut.hemesh.HE_Face.getHalfedge ( final HE_Face  f)
Parameters
f
Returns
List<HE_Face> wblut.hemesh.HE_Face.getNeighborFaces ( )
Returns
WB_Coord wblut.hemesh.HE_Face.getNonNormFaceNormal ( )
Returns
WB_Plane wblut.hemesh.HE_Face.getPlane ( )
Returns
WB_Plane wblut.hemesh.HE_Face.getPlane ( final double  d)
Parameters
d
Returns
int wblut.hemesh.HE_Face.getTextureId ( )
Returns
int [] wblut.hemesh.HE_Face.getTriangles ( )
Returns
int [] wblut.hemesh.HE_Face.getTriangles ( final boolean  optimize)
Parameters
optimize
Returns
List<HE_Vertex> wblut.hemesh.HE_Face.getUniqueFaceVertices ( )
Returns
boolean wblut.hemesh.HE_Face.isBoundary ( )

Checks if is boundary.

Returns
true, if is boundary
boolean wblut.hemesh.HE_Face.isDegenerate ( )
Returns
boolean wblut.hemesh.HE_Face.isNeighbor ( final HE_Face  f)
boolean wblut.hemesh.HE_Face.isPlanar ( )
Returns
long wblut.hemesh.HE_Face.key ( )
Returns
void wblut.hemesh.HE_Face.push ( final WB_Coord  c)
Parameters
c
void wblut.hemesh.HE_Face.setTextureId ( final int  i)
Parameters
i
void wblut.hemesh.HE_Face.sort ( )
WB_AABB wblut.hemesh.HE_Face.toAABB ( )
Returns
Deprecated:
Use getAABB() instead
WB_Polygon wblut.hemesh.HE_Face.toOrthoPolygon ( )
Returns
WB_Polygon wblut.hemesh.HE_Face.toPlanarPolygon ( )
Returns
WB_Plane wblut.hemesh.HE_Face.toPlane ( )
Returns
Deprecated:
Use getPlane() instead
WB_Polygon wblut.hemesh.HE_Face.toPolygon ( )
Returns
String wblut.hemesh.HE_Face.toString ( )
WB_Triangle wblut.hemesh.HE_Face.toTriangle ( )
Returns

Member Data Documentation

HE_Halfedge wblut.hemesh.HE_Face._halfedge
private

Halfedge associated with this face.

int wblut.hemesh.HE_Face.textureId
private

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