HE_Mesh2014
2.0.11
|
Protected Member Functions | |
void | _setNext (final HE_Halfedge he) |
void | _setPrev (final HE_Halfedge he) |
void | _setPair (final HE_Halfedge he) |
void | _setFace (final HE_Face face) |
void | _setVertex (final HE_Vertex vertex) |
void | _clearNext () |
void | _clearPrev () |
void | _clearPair () |
void | _clearFace () |
void | _clearVertex () |
void | clear () |
![]() | |
abstract void | clear () |
![]() | |
abstract void | clear () |
Private Attributes | |
HE_Vertex | _vertex |
HE_Halfedge | _pair |
HE_Halfedge | _next |
HE_Halfedge | _prev |
HE_Face | _face |
int | hecolor |
HE_TextureCoordinate | uvw |
Static Private Attributes | |
static WB_GeometryFactory | gf = WB_GeometryFactory.instance() |
Additional Inherited Members | |
![]() | |
boolean | visited |
![]() | |
final long | _key |
long | _labels |
![]() | |
static final WB_GeometryFactory | geometryfactory = WB_GeometryFactory.instance() |
static final WB_ProgressTracker | tracker = WB_ProgressTracker.instance() |
![]() | |
static AtomicLong | _currentKey =new AtomicLong(0) |
Half-edge element of half-edge data structure.
wblut.hemesh.HE_Halfedge.HE_Halfedge | ( | ) |
Instantiates a new HE_Halfedge.
|
protected |
Clear face.
|
protected |
Clear next.
|
protected |
Clear pair.
|
protected |
Clear prev.
|
protected |
Clear vertex.
|
protected |
Sets the face.
face | the new face |
|
protected |
Set next halfedge in face.
he | next halfedge |
|
protected |
Pair halfedges.
he | halfedge to pair |
|
protected |
Sets previous halfedge in face, only to be called by setNext.
he | next halfedge |
|
protected |
Sets the vertex.
vertex | the new vertex |
|
protected |
void wblut.hemesh.HE_Halfedge.clearUVW | ( | ) |
Clear halfedge UVW.
void wblut.hemesh.HE_Halfedge.copyProperties | ( | final HE_Halfedge | el | ) |
el |
double wblut.hemesh.HE_Halfedge.getAngle | ( | ) |
int wblut.hemesh.HE_Halfedge.getColor | ( | ) |
Implements wblut.geom.WB_HasColor.
double wblut.hemesh.HE_Halfedge.getCotan | ( | ) |
HE_Halfedge wblut.hemesh.HE_Halfedge.getEdge | ( | ) |
Get edge of halfedge.
double wblut.hemesh.HE_Halfedge.getEdgeArea | ( | ) |
Get area of faces bounding edge.
WB_Coord wblut.hemesh.HE_Halfedge.getEdgeCenter | ( | ) |
WB_Coord wblut.hemesh.HE_Halfedge.getEdgeCenter | ( | final double | f | ) |
f |
double wblut.hemesh.HE_Halfedge.getEdgeDihedralAngle | ( | ) |
Return angle between adjacent faces.
WB_Coord wblut.hemesh.HE_Halfedge.getEdgeNormal | ( | ) |
WB_Coord wblut.hemesh.HE_Halfedge.getEdgeTangent | ( | ) |
HE_Vertex wblut.hemesh.HE_Halfedge.getEndVertex | ( | ) |
Get end vertex of halfedge.
HE_Face wblut.hemesh.HE_Halfedge.getFace | ( | ) |
Get face of halfedge.
double wblut.hemesh.HE_Halfedge.getHalfedgeArea | ( | ) |
Get area of faces bounding halfedge.
WB_Coord wblut.hemesh.HE_Halfedge.getHalfedgeCenter | ( | ) |
Get center of halfedge.
double wblut.hemesh.HE_Halfedge.getHalfedgeDihedralAngle | ( | ) |
Get angle between adjacent faces.
WB_Coord wblut.hemesh.HE_Halfedge.getHalfedgeNormal | ( | ) |
Get halfedge normal.
WB_Coord wblut.hemesh.HE_Halfedge.getHalfedgeTangent | ( | ) |
Get tangent WB_Vector of halfedge.
WB_Classification wblut.hemesh.HE_Halfedge.getHalfedgeType | ( | ) |
Get type of face vertex associated with halfedge.
HE_TextureCoordinate wblut.hemesh.HE_Halfedge.getHalfedgeUVW | ( | ) |
Get texture coordinate belonging to this halfedge . If no halfedge UVW exists, zero coordinates are returned.
double wblut.hemesh.HE_Halfedge.getLength | ( | ) |
HE_Halfedge wblut.hemesh.HE_Halfedge.getNextInFace | ( | ) |
Get next halfedge in face.
HE_Halfedge wblut.hemesh.HE_Halfedge.getNextInVertex | ( | ) |
Get next halfedge in vertex.
HE_Halfedge wblut.hemesh.HE_Halfedge.getPair | ( | ) |
Get paired halfedge.
HE_Halfedge wblut.hemesh.HE_Halfedge.getPrevInFace | ( | ) |
Get previous halfedge in face.
HE_Halfedge wblut.hemesh.HE_Halfedge.getPrevInVertex | ( | ) |
Get previous halfedge in vertex.
HE_Vertex wblut.hemesh.HE_Halfedge.getStartVertex | ( | ) |
HE_TextureCoordinate wblut.hemesh.HE_Halfedge.getUVW | ( | ) |
Get texture coordinate belonging to the halfedge vertex in this face. If no halfedge UVW exists, returns the vertex UVW. If neither exist, zero coordinates are returned.
HE_Vertex wblut.hemesh.HE_Halfedge.getVertex | ( | ) |
Get vertex of halfedge.
HE_TextureCoordinate wblut.hemesh.HE_Halfedge.getVertexUVW | ( | ) |
Get texture coordinate belonging to the halfedge vertex. If no vertex UVW exists, zero coordinates are returned.
boolean wblut.hemesh.HE_Halfedge.hasHalfedgeUVW | ( | ) |
Check if this halfedge has texture coordinates.
boolean wblut.hemesh.HE_Halfedge.hasUVW | ( | ) |
Check if the halfedge vertex has a UVW for this face, either a halfedge UVW or a vertex UVW.
boolean wblut.hemesh.HE_Halfedge.hasVertexUVW | ( | ) |
Check if the halfedge vertex has a vertex UVW.
boolean wblut.hemesh.HE_Halfedge.isBoundary | ( | ) |
boolean wblut.hemesh.HE_Halfedge.isEdge | ( | ) |
A halfedge is considered an edge if it has a paired halfedge and one of these conditions is met:
a) both the halfedge and its pair have no face, and the halfedge key is lower b) the halfedge has a face and its pair has no face c) both the halfedge and its pair have a face, and the halfedge key is lower.
boolean wblut.hemesh.HE_Halfedge.isInnerBoundary | ( | ) |
boolean wblut.hemesh.HE_Halfedge.isOuterBoundary | ( | ) |
long wblut.hemesh.HE_Halfedge.key | ( | ) |
Get key.
void wblut.hemesh.HE_Halfedge.setColor | ( | final int | color | ) |
void wblut.hemesh.HE_Halfedge.setUVW | ( | final double | u, |
final double | v, | ||
final double | w | ||
) |
Set halfedge UVW.
u | |
v | |
w |
void wblut.hemesh.HE_Halfedge.setUVW | ( | final WB_Coord | uvw | ) |
Set halfedge UVW.
uvw | WB_Coord |
void wblut.hemesh.HE_Halfedge.setUVW | ( | final HE_TextureCoordinate | uvw | ) |
Set halfedge UVW.
uvw | HE_TextureCoordinate |
String wblut.hemesh.HE_Halfedge.toString | ( | ) |
|
private |
Associated face.
|
private |
Next halfedge in face.
|
private |
Halfedge pair.
|
private |
Previous halfedge in face.
|
private |
Start vertex of halfedge.
|
staticprivate |
|
private |
|
private |