HE_Mesh2014  2.0.11
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
wblut.hemesh.HE_Vertex Class Reference
+ Inheritance diagram for wblut.hemesh.HE_Vertex:

Public Member Functions

 HE_Vertex ()
 
 HE_Vertex (final double x, final double y, final double z)
 
 HE_Vertex (final WB_Coord v)
 
HE_VertexEdgeCirculator veCrc ()
 
HE_VertexFaceCirculator vfCrc ()
 
HE_VertexVertexCirculator vvCrc ()
 
HE_VertexHalfedgeInCirculator vheiCrc ()
 
HE_VertexHalfedgeOutCirculator vheoCrc ()
 
HE_Vertex get ()
 
HE_Halfedge getHalfedge ()
 
void set (final HE_Vertex v)
 
WB_Point getOffset (final double d)
 
HE_Vertex getNextInFace ()
 
HE_Vertex getPrevInFace ()
 
WB_Classification getVertexType ()
 
String toString ()
 
long key ()
 
List< HE_HalfedgegetHalfedgeStar ()
 
List< HE_HalfedgegetEdgeStar ()
 
List< HE_FacegetFaceStar ()
 
List< HE_VertexgetNeighborVertices ()
 
List< HE_VertexgetVertexStar ()
 
List< HE_VertexgetNextNeighborVertices ()
 
WB_Coord[] getNeighborsAsPoints ()
 
int getVertexOrder ()
 
double getVertexArea ()
 
boolean isBoundary ()
 
double xd ()
 
double yd ()
 
double zd ()
 
double wd ()
 
double getd (final int i)
 
float xf ()
 
float yf ()
 
float zf ()
 
float wf ()
 
float getf (final int i)
 
int compareTo (final WB_Coord p)
 
void setX (final double x)
 
void setY (final double y)
 
void setZ (final double z)
 
void setW (final double w)
 
void setCoord (final int i, final double v)
 
void set (final WB_Coord p)
 
void set (final double x, final double y)
 
void set (final double x, final double y, final double z)
 
void set (final double x, final double y, final double z, final double w)
 
int getColor ()
 
void setColor (final int color)
 
WB_CoordinateSystem getCS ()
 
WB_Coord getVertexNormal ()
 
WB_Coord getVertexAverageNormal ()
 
WB_Coord getVertexAreaNormal ()
 
WB_Coord getVertexAngleNormal ()
 
double getGaussianCurvature (final WB_Vector meanCurvatureVector)
 
double getGaussianCurvature ()
 
WB_CoordinateSystem getCurvatureDirections ()
 
void copyProperties (final HE_Vertex el)
 
void clear ()
 
double getUmbrellaAngle ()
 
HE_Halfedge getHalfedge (final HE_Face f)
 
void clearUVW ()
 
void setUVW (final double u, final double v, final double w)
 
void setUVW (final WB_Coord uvw)
 
void setUVW (final HE_TextureCoordinate uvw)
 
void setUVW (final double u, final double v, final double w, final HE_Face face)
 
void setUVW (final WB_Coord uvw, final HE_Face face)
 
void setUVW (final HE_TextureCoordinate uvw, final HE_Face face)
 
void clearUVW (final HE_Face face)
 
boolean hasUVW (final HE_Face f)
 
boolean hasVertexUVW ()
 
boolean hasHalfedgeUVW (final HE_Face f)
 
HE_TextureCoordinate getVertexUVW ()
 
HE_TextureCoordinate getHalfedgeUVW (final HE_Face f)
 
HE_TextureCoordinate getUVW (final HE_Face f)
 
void cleanUVW ()
 
double getAngularDefect ()
 
double absDot (final WB_Coord p)
 
double absDot2D (final WB_Coord p)
 
WB_Point add (final double...x)
 
WB_Point add (final WB_Coord p)
 
void addInto (final WB_MutableCoord result, final double...x)
 
void addInto (final WB_MutableCoord result, final WB_Coord p)
 
WB_Point addMul (final double f, final double...x)
 
WB_Point addMul (final double f, final WB_Coord p)
 
void addMulInto (final WB_MutableCoord result, final double f, final double...x)
 
void addMulInto (final WB_MutableCoord result, final double f, final WB_Coord p)
 
HE_Vertex addMulSelf (final double f, final double...x)
 
HE_Vertex addMulSelf (final double f, final WB_Coord p)
 
HE_Vertex addSelf (final double x, final double y, final double z)
 
HE_Vertex addSelf (final double...x)
 
HE_Vertex addSelf (final WB_Coord p)
 
WB_Point apply (final WB_Transform T)
 
WB_Vector applyAsNormal (final WB_Transform T)
 
void applyAsNormalInto (final WB_MutableCoord result, final WB_Transform T)
 
HE_Vertex applyAsNormalSelf (final WB_Transform T)
 
WB_Point applyAsPoint (final WB_Transform T)
 
void applyAsPointInto (final WB_MutableCoord result, final WB_Transform T)
 
HE_Vertex applyAsPointSelf (final WB_Transform T)
 
WB_Vector applyAsVector (final WB_Transform T)
 
void applyAsVectorInto (final WB_MutableCoord result, final WB_Transform T)
 
HE_Vertex applyAsVectorSelf (final WB_Transform T)
 
void applyInto (final WB_MutableCoord result, final WB_Transform T)
 
HE_Vertex applySelf (final WB_Transform T)
 
double[] coords ()
 
WB_Point cross (final WB_Coord p)
 
void crossInto (final WB_MutableCoord result, final WB_Coord p)
 
HE_Vertex crossSelf (final WB_Coord p)
 
WB_Point div (final double f)
 
void divInto (final WB_MutableCoord result, final double f)
 
HE_Vertex divSelf (final double f)
 
double dot (final WB_Coord p)
 
double dot2D (final WB_Coord p)
 
boolean equals (final Object o)
 
double getAngle (final WB_Coord p)
 
double getAngle (final WB_Coord q, final WB_Coord p)
 
double getAngleNorm (final WB_Coord p)
 
double getAngleNorm (final WB_Coord q, final WB_Coord p)
 
double getDistance2D (final WB_Coord p)
 
double getDistance3D (final WB_Coord p)
 
double getHeading2D ()
 
double getLength2D ()
 
double getLength3D ()
 
WB_Vector getOrthoNormal2D ()
 
WB_Vector getOrthoNormal3D ()
 
double getSqDistance2D (final WB_Coord p)
 
double getSqDistance3D (final WB_Coord p)
 
double getSqLength2D ()
 
double getSqLength3D ()
 
int hashCode ()
 
void invert ()
 
boolean isCollinear (final WB_Coord p, final WB_Coord q)
 
boolean isParallel (final WB_Coord p)
 
boolean isParallel (final WB_Coord p, final double t)
 
boolean isParallelNorm (final WB_Coord p)
 
boolean isParallelNorm (final WB_Coord p, final double t)
 
boolean isZero ()
 
WB_Point mul (final double f)
 
WB_Point mulAddMul (final double f, final double g, final double...x)
 
WB_Point mulAddMul (final double f, final double g, final WB_Coord p)
 
void mulAddMulInto (final WB_MutableCoord result, final double f, final double g, final double...x)
 
void mulAddMulInto (final WB_MutableCoord result, final double f, final double g, final WB_Coord p)
 
HE_Vertex mulAddMulSelf (final double f, final double g, final WB_Coord p)
 
HE_Vertex mulAddMulSelf (final double f, final double g, final double...x)
 
void mulInto (final WB_MutableCoord result, final double f)
 
HE_Vertex mulSelf (final double f)
 
double normalizeSelf ()
 
WB_Point rotateAbout2PointAxis (final double angle, final double p1x, final double p1y, final double p1z, final double p2x, final double p2y, final double p2z)
 
WB_Point rotateAboutAxis2P (final double angle, final double p1x, final double p1y, final double p1z, final double p2x, final double p2y, final double p2z)
 
WB_Point rotateAbout2PointAxis (final double angle, final WB_Coord p1, final WB_Coord p2)
 
WB_Point rotateAboutAxis2P (final double angle, final WB_Coord p1, final WB_Coord p2)
 
HE_Vertex rotateAbout2PointAxisSelf (final double angle, final double p1x, final double p1y, final double p1z, final double p2x, final double p2y, final double p2z)
 
HE_Vertex rotateAboutAxis2PSelf (final double angle, final double p1x, final double p1y, final double p1z, final double p2x, final double p2y, final double p2z)
 
HE_Vertex rotateAbout2PointAxisSelf (final double angle, final WB_Coord p1, final WB_Coord p2)
 
HE_Vertex rotateAboutAxis2PSelf (final double angle, final WB_Coord p1, final WB_Coord p2)
 
WB_Point rotateAboutAxis (final double angle, final double px, final double py, final double pz, final double ax, final double ay, final double az)
 
WB_Point rotateAboutAxis (final double angle, final WB_Coord p, final WB_Coord a)
 
HE_Vertex rotateAboutAxisSelf (final double angle, final double px, final double py, final double pz, final double ax, final double ay, final double az)
 
HE_Vertex rotateAboutAxisSelf (final double angle, final WB_Coord p, final WB_Coord a)
 
WB_Point rotateAboutOrigin (final double angle, final double x, final double y, final double z)
 
WB_Point rotateAboutOrigin (final double angle, final WB_Coord a)
 
HE_Vertex rotateAboutOriginSelf (final double angle, final double x, final double y, final double z)
 
HE_Vertex rotateAboutOriginSelf (final double angle, final WB_Coord a)
 
double scalarTriple (final WB_Coord v, final WB_Coord w)
 
WB_Point scale (final double f)
 
WB_Point scale (final double fx, final double fy, final double fz)
 
void scaleInto (final WB_MutableCoord result, final double f)
 
void scaleInto (final WB_MutableCoord result, final double fx, final double fy, final double fz)
 
HE_Vertex scaleSelf (final double f)
 
HE_Vertex scaleSelf (final double fx, final double fy, final double fz)
 
boolean smallerThan (final WB_Coord otherXYZ)
 
WB_Point sub (final double...x)
 
WB_Point sub (final WB_Coord p)
 
void subInto (final WB_MutableCoord result, final double...x)
 
void subInto (final WB_MutableCoord result, final WB_Coord p)
 
HE_Vertex subSelf (final double...x)
 
HE_Vertex subSelf (final WB_Coord v)
 
WB_M33 tensor (final WB_Coord v)
 
WB_M33 tensor (final WB_Coord u, final WB_Coord v)
 
HE_Vertex trimSelf (final double d)
 
WB_Vector subToVector3D (final double x, final double y, final double z)
 
WB_Vector subToVector3D (final WB_Coord p)
 
WB_Vector subToVector2D (final double x, final double y, final double z)
 
WB_Vector subToVector2D (final WB_Coord p)
 
- Public Member Functions inherited from wblut.hemesh.HE_MeshElement
 HE_MeshElement ()
 
void clearVisited ()
 
void setVisited ()
 
boolean isVisited ()
 
int hashCode ()
 
boolean equals (final Object other)
 
void copyProperties (final HE_MeshElement el)
 
- Public Member Functions inherited from wblut.hemesh.HE_Element
 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)
 
- Public Member Functions inherited from wblut.geom.WB_HasColor
void setColor (int color)
 
- Public Member Functions inherited from wblut.geom.WB_MutableCoord
void setX (double x)
 
void setY (double y)
 
void setZ (double z)
 
void setW (double w)
 
void setCoord (int i, double v)
 
void set (WB_Coord p)
 
void set (double x, double y)
 
void set (double x, double y, double z)
 
void set (double x, double y, double z, double w)
 
- Public Member Functions inherited from wblut.geom.WB_Coord
double getd (int i)
 
float getf (int i)
 
- Public Member Functions inherited from wblut.geom.WB_CoordinateTransform
void applyInto (WB_MutableCoord result, final WB_Transform T)
 
void scaleInto (WB_MutableCoord result, final double f)
 
void scaleInto (WB_MutableCoord result, final double fx, final double fy, final double fz)
 

Static Public Member Functions

static int compare (final double a, final double b)
 

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
abstract void clear ()
 

Private Member Functions

WB_Vector findOptimalSolution (final WB_Vector normal, final WB_Vector t1, final WB_Vector t2)
 

Static Private Member Functions

static double computeNormal3D (final WB_Coord p0, final WB_Coord p1, final WB_Coord p2, WB_Vector tempD1, WB_Vector tempD2, final WB_Vector ret)
 

Private Attributes

HE_Halfedge _halfedge
 
int vertexcolor
 
HE_TextureCoordinate uvw = null
 

Additional Inherited Members

- Protected Attributes inherited from wblut.hemesh.HE_MeshElement
boolean visited
 
- 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 geometryfactory = WB_GeometryFactory.instance()
 
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

Vertex element of half-edge mesh.

Author
Frederik Vanhoutte (W:Blut)

Constructor & Destructor Documentation

wblut.hemesh.HE_Vertex.HE_Vertex ( )

Instantiates a new HE_Vertex.

wblut.hemesh.HE_Vertex.HE_Vertex ( final double  x,
final double  y,
final double  z 
)

Instantiates a new HE_Vertex at position x, y, z.

Parameters
xx-coordinate of vertex
yy-coordinate of vertex
zz-coordinate of vertex
wblut.hemesh.HE_Vertex.HE_Vertex ( final WB_Coord  v)

Instantiates a new HE_Vertex at position v.

Parameters
vposition of vertex

Member Function Documentation

void wblut.hemesh.HE_Vertex._clearHalfedge ( )
protected

Clear halfedge.

void wblut.hemesh.HE_Vertex._setHalfedge ( final HE_Halfedge  halfedge)
protected

Sets the halfedge associated with this vertex.

Parameters
halfedgethe new halfedge
double wblut.hemesh.HE_Vertex.absDot ( final WB_Coord  p)

Absolute value of dot product.

Parameters
p
Returns
absolute value of dot product

Implements wblut.geom.WB_CoordinateMath.

double wblut.hemesh.HE_Vertex.absDot2D ( final WB_Coord  p)

Absolute value of 2D dot product.

Parameters
p
Returns
absolute value of 2D dot product

Implements wblut.geom.WB_CoordinateMath.

WB_Point wblut.hemesh.HE_Vertex.add ( final double...  x)

Add coordinate values.

Parameters
x
Returns
new WB_coordinate

Implements wblut.geom.WB_CoordinateMath.

WB_Point wblut.hemesh.HE_Vertex.add ( final WB_Coord  p)

Add coordinate values.

Parameters
p
Returns
new WB_coordinate

Implements wblut.geom.WB_CoordinateMath.

void wblut.hemesh.HE_Vertex.addInto ( final WB_MutableCoord  result,
final double...  x 
)

Add coordinate values and store in mutable coordinate.

Parameters
result
x

Implements wblut.geom.WB_CoordinateMath.

void wblut.hemesh.HE_Vertex.addInto ( final WB_MutableCoord  result,
final WB_Coord  p 
)

Add coordinate values and store in mutable coordinate.

Parameters
result
p

Implements wblut.geom.WB_CoordinateMath.

WB_Point wblut.hemesh.HE_Vertex.addMul ( final double  f,
final double...  x 
)

Add multiple of coordinate values.

Parameters
fmultiplier
x
Returns
new WB_coordinate

Implements wblut.geom.WB_CoordinateMath.

WB_Point wblut.hemesh.HE_Vertex.addMul ( final double  f,
final WB_Coord  p 
)

Add multiple of coordinate values.

Parameters
f
p
Returns
new WB_coordinate

Implements wblut.geom.WB_CoordinateMath.

void wblut.hemesh.HE_Vertex.addMulInto ( final WB_MutableCoord  result,
final double  f,
final double...  x 
)

Add multiple of coordinate values and store in mutable coordinate.

Parameters
result
fmultiplier
x

Implements wblut.geom.WB_CoordinateMath.

void wblut.hemesh.HE_Vertex.addMulInto ( final WB_MutableCoord  result,
final double  f,
final WB_Coord  p 
)

Add multiple of coordinate values and store in mutable coordinate.

Parameters
result
f
p

Implements wblut.geom.WB_CoordinateMath.

HE_Vertex wblut.hemesh.HE_Vertex.addMulSelf ( final double  f,
final double...  x 
)
Parameters
f
x
Returns

Implements wblut.geom.WB_MutableCoordinateMath.

HE_Vertex wblut.hemesh.HE_Vertex.addMulSelf ( final double  f,
final WB_Coord  p 
)
Parameters
f
p
Returns

Implements wblut.geom.WB_MutableCoordinateMath.

HE_Vertex wblut.hemesh.HE_Vertex.addSelf ( final double  x,
final double  y,
final double  z 
)
Parameters
x
y
z
Returns
HE_Vertex wblut.hemesh.HE_Vertex.addSelf ( final double...  x)
Parameters
x
Returns

Implements wblut.geom.WB_MutableCoordinateMath.

HE_Vertex wblut.hemesh.HE_Vertex.addSelf ( final WB_Coord  p)
Parameters
p
Returns

Implements wblut.geom.WB_MutableCoordinateMath.

WB_Point wblut.hemesh.HE_Vertex.apply ( final WB_Transform  T)
Parameters
T
Returns

Implements wblut.geom.WB_CoordinateTransform.

WB_Vector wblut.hemesh.HE_Vertex.applyAsNormal ( final WB_Transform  T)
Parameters
T
Returns

Implements wblut.geom.WB_CoordinateTransform.

void wblut.hemesh.HE_Vertex.applyAsNormalInto ( final WB_MutableCoord  result,
final WB_Transform  T 
)
Parameters
result
T

Implements wblut.geom.WB_CoordinateTransform.

HE_Vertex wblut.hemesh.HE_Vertex.applyAsNormalSelf ( final WB_Transform  T)
Parameters
T
Returns

Implements wblut.geom.WB_MutableCoordinateTransform.

WB_Point wblut.hemesh.HE_Vertex.applyAsPoint ( final WB_Transform  T)
Parameters
T
Returns

Implements wblut.geom.WB_CoordinateTransform.

void wblut.hemesh.HE_Vertex.applyAsPointInto ( final WB_MutableCoord  result,
final WB_Transform  T 
)
Parameters
result
T

Implements wblut.geom.WB_CoordinateTransform.

HE_Vertex wblut.hemesh.HE_Vertex.applyAsPointSelf ( final WB_Transform  T)
Parameters
T
Returns

Implements wblut.geom.WB_MutableCoordinateTransform.

WB_Vector wblut.hemesh.HE_Vertex.applyAsVector ( final WB_Transform  T)
Parameters
T
Returns

Implements wblut.geom.WB_CoordinateTransform.

void wblut.hemesh.HE_Vertex.applyAsVectorInto ( final WB_MutableCoord  result,
final WB_Transform  T 
)
Parameters
result
T

Implements wblut.geom.WB_CoordinateTransform.

HE_Vertex wblut.hemesh.HE_Vertex.applyAsVectorSelf ( final WB_Transform  T)
Parameters
T
Returns

Implements wblut.geom.WB_MutableCoordinateTransform.

void wblut.hemesh.HE_Vertex.applyInto ( final WB_MutableCoord  result,
final WB_Transform  T 
)
HE_Vertex wblut.hemesh.HE_Vertex.applySelf ( final WB_Transform  T)
Parameters
T
Returns

Implements wblut.geom.WB_MutableCoordinateTransform.

void wblut.hemesh.HE_Vertex.cleanUVW ( )
void wblut.hemesh.HE_Vertex.clear ( )
void wblut.hemesh.HE_Vertex.clearUVW ( )

Clear vertex UVW.

void wblut.hemesh.HE_Vertex.clearUVW ( final HE_Face  face)

Clear UVW in halfedge in this vertex, belonging to face. If no such halfedge exists, nothing happens.

Parameters
face
static int wblut.hemesh.HE_Vertex.compare ( final double  a,
final double  b 
)
static
Parameters
a
b
Returns
int wblut.hemesh.HE_Vertex.compareTo ( final WB_Coord  p)
Parameters
p
Returns
static double wblut.hemesh.HE_Vertex.computeNormal3D ( final WB_Coord  p0,
final WB_Coord  p1,
final WB_Coord  p2,
WB_Vector  tempD1,
WB_Vector  tempD2,
final WB_Vector  ret 
)
staticprivate
Parameters
p0
p1
p2
tempD1
tempD2
ret
Returns
double [] wblut.hemesh.HE_Vertex.coords ( )
Returns
void wblut.hemesh.HE_Vertex.copyProperties ( final HE_Vertex  el)
Parameters
el
WB_Point wblut.hemesh.HE_Vertex.cross ( final WB_Coord  p)

Cross product of this coordinate with other coordinate.

Parameters
p
Returns
new WB_coordinate

Implements wblut.geom.WB_CoordinateMath.

void wblut.hemesh.HE_Vertex.crossInto ( final WB_MutableCoord  result,
final WB_Coord  p 
)

Store cross product of this coordinate with other coordinate in mutable coordinate. coordinate.

Parameters
result
p

Implements wblut.geom.WB_CoordinateMath.

HE_Vertex wblut.hemesh.HE_Vertex.crossSelf ( final WB_Coord  p)
Parameters
p
Returns

Implements wblut.geom.WB_MutableCoordinateMath.

WB_Point wblut.hemesh.HE_Vertex.div ( final double  f)

Divide by factor.

Parameters
f
Returns
new WB_coordinate

Implements wblut.geom.WB_CoordinateMath.

void wblut.hemesh.HE_Vertex.divInto ( final WB_MutableCoord  result,
final double  f 
)

Divide by factor and store in mutable coordinate.

Parameters
result
f

Implements wblut.geom.WB_CoordinateMath.

HE_Vertex wblut.hemesh.HE_Vertex.divSelf ( final double  f)
Parameters
f
Returns

Implements wblut.geom.WB_MutableCoordinateMath.

double wblut.hemesh.HE_Vertex.dot ( final WB_Coord  p)

Dot product.

Parameters
p
Returns
dot product

Implements wblut.geom.WB_CoordinateMath.

double wblut.hemesh.HE_Vertex.dot2D ( final WB_Coord  p)

2D dot product.

Parameters
p
Returns
2D dot product

Implements wblut.geom.WB_CoordinateMath.

boolean wblut.hemesh.HE_Vertex.equals ( final Object  o)
WB_Vector wblut.hemesh.HE_Vertex.findOptimalSolution ( final WB_Vector  normal,
final WB_Vector  t1,
final WB_Vector  t2 
)
private
Parameters
normal
t1
t2
Returns
HE_Vertex wblut.hemesh.HE_Vertex.get ( )
Returns
double wblut.hemesh.HE_Vertex.getAngle ( final WB_Coord  p)
Parameters
p
Returns

Implements wblut.geom.WB_CoordinateMetric.

double wblut.hemesh.HE_Vertex.getAngle ( final WB_Coord  q,
final WB_Coord  p 
)
Parameters
q
p
Returns
double wblut.hemesh.HE_Vertex.getAngleNorm ( final WB_Coord  p)
Parameters
p
Returns

Implements wblut.geom.WB_CoordinateMetric.

double wblut.hemesh.HE_Vertex.getAngleNorm ( final WB_Coord  q,
final WB_Coord  p 
)
Parameters
q
p
Returns
double wblut.hemesh.HE_Vertex.getAngularDefect ( )
Returns
int wblut.hemesh.HE_Vertex.getColor ( )
Returns

Implements wblut.geom.WB_HasColor.

WB_CoordinateSystem wblut.hemesh.HE_Vertex.getCS ( )
Returns
WB_CoordinateSystem wblut.hemesh.HE_Vertex.getCurvatureDirections ( )
Returns
double wblut.hemesh.HE_Vertex.getd ( final int  i)
double wblut.hemesh.HE_Vertex.getDistance2D ( final WB_Coord  p)
Parameters
p
Returns

Implements wblut.geom.WB_CoordinateMetric.

double wblut.hemesh.HE_Vertex.getDistance3D ( final WB_Coord  p)
Parameters
p
Returns

Implements wblut.geom.WB_CoordinateMetric.

List<HE_Halfedge> wblut.hemesh.HE_Vertex.getEdgeStar ( )

Get edges in vertex.

Returns
edges
float wblut.hemesh.HE_Vertex.getf ( final int  i)
List<HE_Face> wblut.hemesh.HE_Vertex.getFaceStar ( )

Get faces in vertex.

Returns
faces
double wblut.hemesh.HE_Vertex.getGaussianCurvature ( final WB_Vector  meanCurvatureVector)

Returns the discrete Gaussian curvature and the mean normal. These discrete operators are described in "Discrete Differential-Geometry Operators for Triangulated 2-Manifolds", Mark Meyer, Mathieu Desbrun, Peter Schr�der, and Alan H. Barr. http://www.cs.caltech.edu/~mmeyer/Publications/diffGeomOps.pdf http://www.cs.caltech.edu/~mmeyer/Publications/diffGeomOps.pdf Note: on a sphere, the Gaussian curvature is very accurate, but not the mean curvature. Guoliang Xu suggests improvements in his papers http://lsec.cc.ac.cn/~xuguo/xuguo3.htm

Parameters
meanCurvatureVector
Returns
double wblut.hemesh.HE_Vertex.getGaussianCurvature ( )

Returns the discrete Gaussian curvature. These discrete operators are described in "Discrete Differential-Geometry Operators for Triangulated 2-Manifolds", Mark Meyer, Mathieu Desbrun, Peter Schr�der, and Alan H. Barr. http://www.cs.caltech.edu/~mmeyer/Publications/diffGeomOps.pdf http://www.cs.caltech.edu/~mmeyer/Publications/diffGeomOps.pdf Note: on a sphere, the Gaussian curvature is very accurate, but not the mean curvature. Guoliang Xu suggests improvements in his papers http://lsec.cc.ac.cn/~xuguo/xuguo3.htm

Returns
HE_Halfedge wblut.hemesh.HE_Vertex.getHalfedge ( )

Get halfedge associated with this vertex.

Returns
halfedge
HE_Halfedge wblut.hemesh.HE_Vertex.getHalfedge ( final HE_Face  f)
Parameters
f
Returns
List<HE_Halfedge> wblut.hemesh.HE_Vertex.getHalfedgeStar ( )

Get halfedges in vertex.

Returns
halfedges
HE_TextureCoordinate wblut.hemesh.HE_Vertex.getHalfedgeUVW ( final HE_Face  f)

Get the halfedge UVW belonging to a face. If none exists, return zero coordinates.

Parameters
f
Returns
double wblut.hemesh.HE_Vertex.getHeading2D ( )
Returns

Implements wblut.geom.WB_CoordinateMetric.

double wblut.hemesh.HE_Vertex.getLength2D ( )
Returns

Implements wblut.geom.WB_CoordinateMetric.

double wblut.hemesh.HE_Vertex.getLength3D ( )
Returns

Implements wblut.geom.WB_CoordinateMetric.

WB_Coord [] wblut.hemesh.HE_Vertex.getNeighborsAsPoints ( )

Gets the neighbors as points.

Returns
the neighbors as points
List<HE_Vertex> wblut.hemesh.HE_Vertex.getNeighborVertices ( )

Get neighboring vertices.

Returns
neighbors
HE_Vertex wblut.hemesh.HE_Vertex.getNextInFace ( )
List<HE_Vertex> wblut.hemesh.HE_Vertex.getNextNeighborVertices ( )
Returns
WB_Point wblut.hemesh.HE_Vertex.getOffset ( final double  d)
Parameters
d
Returns
WB_Vector wblut.hemesh.HE_Vertex.getOrthoNormal2D ( )
Returns

Implements wblut.geom.WB_CoordinateMetric.

WB_Vector wblut.hemesh.HE_Vertex.getOrthoNormal3D ( )
Returns

Implements wblut.geom.WB_CoordinateMetric.

HE_Vertex wblut.hemesh.HE_Vertex.getPrevInFace ( )
double wblut.hemesh.HE_Vertex.getSqDistance2D ( final WB_Coord  p)
Parameters
p
Returns

Implements wblut.geom.WB_CoordinateMetric.

double wblut.hemesh.HE_Vertex.getSqDistance3D ( final WB_Coord  p)
Parameters
p
Returns

Implements wblut.geom.WB_CoordinateMetric.

double wblut.hemesh.HE_Vertex.getSqLength2D ( )
Returns

Implements wblut.geom.WB_CoordinateMetric.

double wblut.hemesh.HE_Vertex.getSqLength3D ( )
Returns

Implements wblut.geom.WB_CoordinateMetric.

double wblut.hemesh.HE_Vertex.getUmbrellaAngle ( )
Returns
HE_TextureCoordinate wblut.hemesh.HE_Vertex.getUVW ( final HE_Face  f)

Get the UVW belonging to a face. If approprate halfedge UVW exists, the vertex UVW is retrieved.* If neither exist, zero coordinates are returned.

Parameters
f
Returns
WB_Coord wblut.hemesh.HE_Vertex.getVertexAngleNormal ( )
Returns
double wblut.hemesh.HE_Vertex.getVertexArea ( )

Get area of faces bounding vertex.

Returns
area
WB_Coord wblut.hemesh.HE_Vertex.getVertexAreaNormal ( )
Returns
WB_Coord wblut.hemesh.HE_Vertex.getVertexAverageNormal ( )
Returns
WB_Coord wblut.hemesh.HE_Vertex.getVertexNormal ( )
Returns
int wblut.hemesh.HE_Vertex.getVertexOrder ( )

Get number of edges in vertex.

Returns
number of edges
List<HE_Vertex> wblut.hemesh.HE_Vertex.getVertexStar ( )
Returns
WB_Classification wblut.hemesh.HE_Vertex.getVertexType ( )

Get vertex type. Returns stored value if update status is true.

Returns
HE.VertexType.FLAT: vertex is flat in all faces, HE.VertexType.CONVEX: vertex is convex in all faces, HE.VertexType.CONCAVE: vertex is concave in all faces, HE.VertexType.FLATCONVEX: vertex is convex or flat in all faces, HE.VertexType.FLATCONCAVE: vertex is concave or flat in all faces, HE.VertexType.SADDLE: vertex is convex and concave in at least one face each
HE_TextureCoordinate wblut.hemesh.HE_Vertex.getVertexUVW ( )

Get the vertex UVW. If none exists, return zero coordinates.

Returns
boolean wblut.hemesh.HE_Vertex.hasHalfedgeUVW ( final HE_Face  f)

Check if this vertex has a halfedge UVW for this face.

Parameters
f
Returns
int wblut.hemesh.HE_Vertex.hashCode ( )
boolean wblut.hemesh.HE_Vertex.hasUVW ( final HE_Face  f)

Check if this vertex has a UVW for this face, either a halfedge UVW or a vertex UVW.

Parameters
f
Returns
boolean wblut.hemesh.HE_Vertex.hasVertexUVW ( )

Check if this vertex has a vertex UVW.

Returns
void wblut.hemesh.HE_Vertex.invert ( )
boolean wblut.hemesh.HE_Vertex.isBoundary ( )

Checks if is boundary.

Returns
true, if is boundary
boolean wblut.hemesh.HE_Vertex.isCollinear ( final WB_Coord  p,
final WB_Coord  q 
)
Parameters
p
q
Returns
boolean wblut.hemesh.HE_Vertex.isParallel ( final WB_Coord  p)
Parameters
p
Returns
boolean wblut.hemesh.HE_Vertex.isParallel ( final WB_Coord  p,
final double  t 
)
Parameters
p
t
Returns
boolean wblut.hemesh.HE_Vertex.isParallelNorm ( final WB_Coord  p)
Parameters
p
Returns
boolean wblut.hemesh.HE_Vertex.isParallelNorm ( final WB_Coord  p,
final double  t 
)
Parameters
p
t
Returns
boolean wblut.hemesh.HE_Vertex.isZero ( )
Returns

Implements wblut.geom.WB_CoordinateMetric.

long wblut.hemesh.HE_Vertex.key ( )

Get key.

Returns
key
WB_Point wblut.hemesh.HE_Vertex.mul ( final double  f)

Multiply by factor.

Parameters
f
Returns
new WB_coordinate

Implements wblut.geom.WB_CoordinateMath.

WB_Point wblut.hemesh.HE_Vertex.mulAddMul ( final double  f,
final double  g,
final double...  x 
)

Multiply this coordinate by factor f and add other coordinate values multiplied by g.

Parameters
f
g
x
Returns
new WB_coordinate

Implements wblut.geom.WB_CoordinateMath.

WB_Point wblut.hemesh.HE_Vertex.mulAddMul ( final double  f,
final double  g,
final WB_Coord  p 
)

Multiply this coordinate by factor f and add other coordinate values multiplied by g.

Parameters
f
g
p
Returns
new WB_coordinate

Implements wblut.geom.WB_CoordinateMath.

void wblut.hemesh.HE_Vertex.mulAddMulInto ( final WB_MutableCoord  result,
final double  f,
final double  g,
final double...  x 
)

Multiply this coordinate by factor f, add other coordinate values multiplied by g and store result in mutable coordinate.

Parameters
result
f
g
x

Implements wblut.geom.WB_CoordinateMath.

void wblut.hemesh.HE_Vertex.mulAddMulInto ( final WB_MutableCoord  result,
final double  f,
final double  g,
final WB_Coord  p 
)

Multiply this coordinate by factor f, add other coordinate values multiplied by g and store result in mutable coordinate.

Parameters
result
f
g
p

Implements wblut.geom.WB_CoordinateMath.

HE_Vertex wblut.hemesh.HE_Vertex.mulAddMulSelf ( final double  f,
final double  g,
final WB_Coord  p 
)
Parameters
f
g
p
Returns

Implements wblut.geom.WB_MutableCoordinateMath.

HE_Vertex wblut.hemesh.HE_Vertex.mulAddMulSelf ( final double  f,
final double  g,
final double...  x 
)
Parameters
f
g
x
Returns

Implements wblut.geom.WB_MutableCoordinateMath.

void wblut.hemesh.HE_Vertex.mulInto ( final WB_MutableCoord  result,
final double  f 
)

Multiply by factor and store in mutable coordinate.

Parameters
result
f

Implements wblut.geom.WB_CoordinateMath.

HE_Vertex wblut.hemesh.HE_Vertex.mulSelf ( final double  f)
Parameters
f
Returns

Implements wblut.geom.WB_MutableCoordinateMath.

double wblut.hemesh.HE_Vertex.normalizeSelf ( )
WB_Point wblut.hemesh.HE_Vertex.rotateAbout2PointAxis ( final double  angle,
final double  p1x,
final double  p1y,
final double  p1z,
final double  p2x,
final double  p2y,
final double  p2z 
)
WB_Point wblut.hemesh.HE_Vertex.rotateAbout2PointAxis ( final double  angle,
final WB_Coord  p1,
final WB_Coord  p2 
)
HE_Vertex wblut.hemesh.HE_Vertex.rotateAbout2PointAxisSelf ( final double  angle,
final double  p1x,
final double  p1y,
final double  p1z,
final double  p2x,
final double  p2y,
final double  p2z 
)
HE_Vertex wblut.hemesh.HE_Vertex.rotateAbout2PointAxisSelf ( final double  angle,
final WB_Coord  p1,
final WB_Coord  p2 
)
WB_Point wblut.hemesh.HE_Vertex.rotateAboutAxis ( final double  angle,
final double  px,
final double  py,
final double  pz,
final double  ax,
final double  ay,
final double  az 
)
Parameters
angle
px
py
pz
ax
ay
az
Returns

Implements wblut.geom.WB_CoordinateTransform.

WB_Point wblut.hemesh.HE_Vertex.rotateAboutAxis ( final double  angle,
final WB_Coord  p,
final WB_Coord  a 
)
Parameters
angle
p
a
Returns

Implements wblut.geom.WB_CoordinateTransform.

WB_Point wblut.hemesh.HE_Vertex.rotateAboutAxis2P ( final double  angle,
final double  p1x,
final double  p1y,
final double  p1z,
final double  p2x,
final double  p2y,
final double  p2z 
)
Parameters
angle
p1x
p1y
p1z
p2x
p2y
p2z
Returns

Implements wblut.geom.WB_CoordinateTransform.

WB_Point wblut.hemesh.HE_Vertex.rotateAboutAxis2P ( final double  angle,
final WB_Coord  p1,
final WB_Coord  p2 
)
Parameters
angle
p1
p2
Returns

Implements wblut.geom.WB_CoordinateTransform.

HE_Vertex wblut.hemesh.HE_Vertex.rotateAboutAxis2PSelf ( final double  angle,
final double  p1x,
final double  p1y,
final double  p1z,
final double  p2x,
final double  p2y,
final double  p2z 
)
Parameters
angle
p1x
p1y
p1z
p2x
p2y
p2z
Returns

Implements wblut.geom.WB_MutableCoordinateTransform.

HE_Vertex wblut.hemesh.HE_Vertex.rotateAboutAxis2PSelf ( final double  angle,
final WB_Coord  p1,
final WB_Coord  p2 
)
Parameters
angle
p1
p2
Returns

Implements wblut.geom.WB_MutableCoordinateTransform.

HE_Vertex wblut.hemesh.HE_Vertex.rotateAboutAxisSelf ( final double  angle,
final double  px,
final double  py,
final double  pz,
final double  ax,
final double  ay,
final double  az 
)
Parameters
angle
px
py
pz
ax
ay
az
Returns

Implements wblut.geom.WB_MutableCoordinateTransform.

HE_Vertex wblut.hemesh.HE_Vertex.rotateAboutAxisSelf ( final double  angle,
final WB_Coord  p,
final WB_Coord  a 
)
Parameters
angle
p
a
Returns

Implements wblut.geom.WB_MutableCoordinateTransform.

WB_Point wblut.hemesh.HE_Vertex.rotateAboutOrigin ( final double  angle,
final double  x,
final double  y,
final double  z 
)
Parameters
angle
x
y
z
Returns

Implements wblut.geom.WB_CoordinateTransform.

WB_Point wblut.hemesh.HE_Vertex.rotateAboutOrigin ( final double  angle,
final WB_Coord  v 
)
Parameters
angle
v
Returns

Implements wblut.geom.WB_CoordinateTransform.

HE_Vertex wblut.hemesh.HE_Vertex.rotateAboutOriginSelf ( final double  angle,
final double  x,
final double  y,
final double  z 
)
Parameters
angle
x
y
z
Returns

Implements wblut.geom.WB_MutableCoordinateTransform.

HE_Vertex wblut.hemesh.HE_Vertex.rotateAboutOriginSelf ( final double  angle,
final WB_Coord  v 
)
Parameters
angle
v
Returns

Implements wblut.geom.WB_MutableCoordinateTransform.

double wblut.hemesh.HE_Vertex.scalarTriple ( final WB_Coord  v,
final WB_Coord  w 
)

Scalar triple: this.(v x w)

Parameters
v
w
Returns
scalar triple

Implements wblut.geom.WB_CoordinateMath.

WB_Point wblut.hemesh.HE_Vertex.scale ( final double  f)
Parameters
f
Returns

Implements wblut.geom.WB_CoordinateTransform.

WB_Point wblut.hemesh.HE_Vertex.scale ( final double  fx,
final double  fy,
final double  fz 
)
Parameters
fx
fy
fz
Returns

Implements wblut.geom.WB_CoordinateTransform.

void wblut.hemesh.HE_Vertex.scaleInto ( final WB_MutableCoord  result,
final double  f 
)
void wblut.hemesh.HE_Vertex.scaleInto ( final WB_MutableCoord  result,
final double  fx,
final double  fy,
final double  fz 
)
HE_Vertex wblut.hemesh.HE_Vertex.scaleSelf ( final double  f)
Parameters
f
Returns

Implements wblut.geom.WB_MutableCoordinateTransform.

HE_Vertex wblut.hemesh.HE_Vertex.scaleSelf ( final double  fx,
final double  fy,
final double  fz 
)
Parameters
fx
fy
fz
Returns

Implements wblut.geom.WB_MutableCoordinateTransform.

void wblut.hemesh.HE_Vertex.set ( final HE_Vertex  v)

Set position to v.

Parameters
vposition
void wblut.hemesh.HE_Vertex.set ( final WB_Coord  p)
void wblut.hemesh.HE_Vertex.set ( final double  x,
final double  y 
)
void wblut.hemesh.HE_Vertex.set ( final double  x,
final double  y,
final double  z 
)
void wblut.hemesh.HE_Vertex.set ( final double  x,
final double  y,
final double  z,
final double  w 
)
void wblut.hemesh.HE_Vertex.setColor ( final int  color)
void wblut.hemesh.HE_Vertex.setCoord ( final int  i,
final double  v 
)
void wblut.hemesh.HE_Vertex.setUVW ( final double  u,
final double  v,
final double  w 
)

Set vertex UVW.

Parameters
u
v
w
void wblut.hemesh.HE_Vertex.setUVW ( final WB_Coord  uvw)

Set vertex UVW.

Parameters
uvwWB_Coord
void wblut.hemesh.HE_Vertex.setUVW ( final HE_TextureCoordinate  uvw)

Set vertex UVW.

Parameters
uvwHE_TextureCoordinate
void wblut.hemesh.HE_Vertex.setUVW ( final double  u,
final double  v,
final double  w,
final HE_Face  face 
)

Set UVW in halfedge in this vertex, belonging to face. If no such halfedge exists, nothing happens.

Parameters
u
v
w
face
void wblut.hemesh.HE_Vertex.setUVW ( final WB_Coord  uvw,
final HE_Face  face 
)

Set UVW in halfedge in this vertex, belonging to face. If no such halfedge exists, nothing happens.

Parameters
uvwWB_Coord
face
void wblut.hemesh.HE_Vertex.setUVW ( final HE_TextureCoordinate  uvw,
final HE_Face  face 
)

Set UVW in halfedge in this vertex, belonging to face. If no such halfedge exists, nothing happens.

Parameters
uvwHE_TextureCoordinate
face
void wblut.hemesh.HE_Vertex.setW ( final double  w)
void wblut.hemesh.HE_Vertex.setX ( final double  x)
void wblut.hemesh.HE_Vertex.setY ( final double  y)
void wblut.hemesh.HE_Vertex.setZ ( final double  z)
boolean wblut.hemesh.HE_Vertex.smallerThan ( final WB_Coord  otherXYZ)
Parameters
otherXYZ
Returns
WB_Point wblut.hemesh.HE_Vertex.sub ( final double...  x)

Subtract coordinate values.

Parameters
x
Returns
new WB_coordinate

Implements wblut.geom.WB_CoordinateMath.

WB_Point wblut.hemesh.HE_Vertex.sub ( final WB_Coord  p)

Subtract coordinate values.

Parameters
p
Returns
new WB_coordinate

Implements wblut.geom.WB_CoordinateMath.

void wblut.hemesh.HE_Vertex.subInto ( final WB_MutableCoord  result,
final double...  x 
)

Subtract coordinate values and store in mutable coordinate.

Parameters
result
x

Implements wblut.geom.WB_CoordinateMath.

void wblut.hemesh.HE_Vertex.subInto ( final WB_MutableCoord  result,
final WB_Coord  p 
)

Subtract coordinate values and store in mutable coordinate.

Parameters
result
p

Implements wblut.geom.WB_CoordinateMath.

HE_Vertex wblut.hemesh.HE_Vertex.subSelf ( final double...  x)
Parameters
x
Returns

Implements wblut.geom.WB_MutableCoordinateMath.

HE_Vertex wblut.hemesh.HE_Vertex.subSelf ( final WB_Coord  v)
Parameters
v
Returns

Implements wblut.geom.WB_MutableCoordinateMath.

WB_Vector wblut.hemesh.HE_Vertex.subToVector2D ( final double  x,
final double  y,
final double  z 
)
Parameters
x
y
z
Returns
WB_Vector wblut.hemesh.HE_Vertex.subToVector2D ( final WB_Coord  p)
Parameters
p
Returns
WB_Vector wblut.hemesh.HE_Vertex.subToVector3D ( final double  x,
final double  y,
final double  z 
)
Parameters
x
y
z
Returns
WB_Vector wblut.hemesh.HE_Vertex.subToVector3D ( final WB_Coord  p)
Parameters
p
Returns
WB_M33 wblut.hemesh.HE_Vertex.tensor ( final WB_Coord  v)

Tensor product.

Parameters
v
Returns
tensor product

Implements wblut.geom.WB_CoordinateMath.

WB_M33 wblut.hemesh.HE_Vertex.tensor ( final WB_Coord  u,
final WB_Coord  v 
)
Parameters
u
v
Returns
String wblut.hemesh.HE_Vertex.toString ( )
HE_Vertex wblut.hemesh.HE_Vertex.trimSelf ( final double  d)
Parameters
d
Returns

Implements wblut.geom.WB_MutableCoordinateMath.

HE_VertexEdgeCirculator wblut.hemesh.HE_Vertex.veCrc ( )
Returns
HE_VertexFaceCirculator wblut.hemesh.HE_Vertex.vfCrc ( )
Returns
HE_VertexHalfedgeInCirculator wblut.hemesh.HE_Vertex.vheiCrc ( )
Returns
HE_VertexHalfedgeOutCirculator wblut.hemesh.HE_Vertex.vheoCrc ( )
Returns
HE_VertexVertexCirculator wblut.hemesh.HE_Vertex.vvCrc ( )
Returns
double wblut.hemesh.HE_Vertex.wd ( )

Get w as double.

Returns
w

Implements wblut.geom.WB_Coord.

float wblut.hemesh.HE_Vertex.wf ( )

Get w as float.

Returns
w

Implements wblut.geom.WB_Coord.

double wblut.hemesh.HE_Vertex.xd ( )

Get x as double.

Returns
x

Implements wblut.geom.WB_Coord.

float wblut.hemesh.HE_Vertex.xf ( )

Get x as float.

Returns
x

Implements wblut.geom.WB_Coord.

double wblut.hemesh.HE_Vertex.yd ( )

Get y as double.

Returns
y

Implements wblut.geom.WB_Coord.

float wblut.hemesh.HE_Vertex.yf ( )

Get y as float.

Returns
y

Implements wblut.geom.WB_Coord.

double wblut.hemesh.HE_Vertex.zd ( )

Get z as double.

Returns
z

Implements wblut.geom.WB_Coord.

float wblut.hemesh.HE_Vertex.zf ( )

Get z as float.

Returns
z

Implements wblut.geom.WB_Coord.

Member Data Documentation

HE_Halfedge wblut.hemesh.HE_Vertex._halfedge
private

Halfedge associated with this vertex.

HE_TextureCoordinate wblut.hemesh.HE_Vertex.uvw = null
private
int wblut.hemesh.HE_Vertex.vertexcolor
private

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