HE_Mesh  5.0.0
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_VertexEdgeRevCirculator veRevCrc ()
 
HE_VertexFaceRevCirculator vfRevCrc ()
 
HE_VertexVertexRevCirculator vvRevCrc ()
 
HE_VertexHalfedgeInRevCirculator vheiRevCrc ()
 
HE_VertexHalfedgeOutRevCirculator vheoRevCrc ()
 
HE_Vertex copy ()
 
HE_Halfedge getHalfedge ()
 
void set (final HE_Vertex v)
 
WB_Point getOffset (final double d)
 
HE_Vertex getNextInFace ()
 
HE_Vertex getPrevInFace ()
 
WB_Classification getVertexType ()
 
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)
 
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)
 
WB_CoordinateSystem3D getVertexCS ()
 
WB_Coord getVertexNormal ()
 
WB_Coord getVertexAverageNormal ()
 
WB_Coord getVertexAreaNormal ()
 
WB_Coord getVertexAngleNormal ()
 
double getGaussianCurvature (final WB_Vector meanCurvatureVector)
 
double getGaussianCurvature ()
 
WB_CoordinateSystem3D 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 ()
 
boolean isNeighbor (final HE_Vertex v)
 
double dot2D (final WB_Coord p)
 
double absDot2D (final WB_Coord p)
 
double dot (final WB_Coord p)
 
double absDot (final WB_Coord p)
 
boolean isZero ()
 
WB_Point add (final double...x)
 
void addInto (final WB_MutableCoord result, final double...x)
 
WB_Point add (final WB_Coord p)
 
void addInto (final WB_MutableCoord result, final WB_Coord p)
 
WB_Point sub (final double...x)
 
void subInto (final WB_MutableCoord result, final double...x)
 
WB_Point sub (final WB_Coord p)
 
void subInto (final WB_MutableCoord result, final WB_Coord p)
 
WB_Point mul (final double f)
 
void mulInto (final WB_MutableCoord result, final double f)
 
WB_Point div (final double f)
 
void divInto (final WB_MutableCoord result, final double f)
 
WB_Point addMul (final double f, final double...x)
 
void addMulInto (final WB_MutableCoord result, 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 WB_Coord p)
 
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 WB_Coord p)
 
WB_Point mulAddMul (final double f, final double g, final double...x)
 
void mulAddMulInto (final WB_MutableCoord result, final double f, final double g, final double...x)
 
WB_Point cross (final WB_Coord p)
 
void crossInto (final WB_MutableCoord result, final WB_Coord p)
 
WB_M33 tensor (final WB_Coord v)
 
double scalarTriple (final WB_Coord v, final WB_Coord w)
 
HE_Vertex addSelf (final WB_Coord p)
 
HE_Vertex subSelf (final double...x)
 
HE_Vertex subSelf (final WB_Coord v)
 
HE_Vertex mulSelf (final double f)
 
HE_Vertex divSelf (final double f)
 
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)
 
HE_Vertex mulAddMulSelf (final double f, final double g, final double...x)
 
HE_Vertex mulAddMulSelf (final double f, final double g, final WB_Coord p)
 
HE_Vertex crossSelf (final WB_Coord p)
 
double normalizeSelf ()
 
HE_Vertex trimSelf (final double d)
 
WB_Point apply2D (final WB_Transform2D T)
 
WB_Point applyAsPoint2D (final WB_Transform2D T)
 
WB_Vector applyAsVector2D (final WB_Transform2D T)
 
WB_Vector applyAsNormal2D (final WB_Transform2D T)
 
void apply2DInto (final WB_MutableCoord result, final WB_Transform2D T)
 
void applyAsPoint2DInto (final WB_MutableCoord result, final WB_Transform2D T)
 
void applyAsVector2DInto (final WB_MutableCoord result, final WB_Transform2D T)
 
void applyAsNormal2DInto (final WB_MutableCoord result, final WB_Transform2D T)
 
WB_Coord translate2D (final double px, final double py)
 
void translate2DInto (final WB_MutableCoord result, final double px, final double py)
 
WB_Coord translate2D (final WB_Coord p)
 
void translate2DInto (final WB_MutableCoord result, final WB_Coord p)
 
WB_Point rotateAboutPoint2D (final double angle, final double px, final double py)
 
void rotateAboutPoint2DInto (final WB_MutableCoord result, final double angle, final double px, final double py)
 
WB_Point rotateAboutPoint2D (final double angle, final WB_Coord p)
 
void rotateAboutPoint2DInto (final WB_MutableCoord result, final double angle, final WB_Coord p)
 
WB_Point rotateAboutOrigin2D (final double angle)
 
void rotateAboutOrigin2DInto (final WB_MutableCoord result, final double angle)
 
WB_Point scale2D (final double f)
 
void scale2DInto (final WB_MutableCoord result, final double f)
 
WB_Point scale2D (final double fx, final double fy)
 
void scale2DInto (final WB_MutableCoord result, final double fx, final double fy)
 
HE_Vertex apply2DSelf (final WB_Transform2D T)
 
HE_Vertex applyAsPoint2DSelf (final WB_Transform2D T)
 
HE_Vertex applyAsVector2DSelf (final WB_Transform2D T)
 
HE_Vertex applyAsNormal2DSelf (final WB_Transform2D T)
 
WB_Coord translate2DSelf (final double px, final double py)
 
WB_Coord translate2DSelf (final WB_Coord p)
 
HE_Vertex rotateAboutPoint2DSelf (final double angle, final double px, final double py)
 
HE_Vertex rotateAboutPoint2DSelf (final double angle, final WB_Coord p)
 
HE_Vertex rotateAboutOrigin2DSelf (final double angle)
 
HE_Vertex scale2DSelf (final double f)
 
HE_Vertex scale2DSelf (final double fx, final double fy)
 
WB_Point apply (final WB_Transform T)
 
WB_Point applyAsPoint (final WB_Transform T)
 
WB_Vector applyAsNormal (final WB_Transform T)
 
WB_Vector applyAsVector (final WB_Transform T)
 
void applyInto (final WB_MutableCoord result, final WB_Transform T)
 
void applyAsPointInto (final WB_MutableCoord result, final WB_Transform T)
 
void applyAsNormalInto (final WB_MutableCoord result, final WB_Transform T)
 
void applyAsVectorInto (final WB_MutableCoord result, final WB_Transform T)
 
WB_Coord translate (final double px, final double py, final double pz)
 
WB_Coord translateInto (final WB_MutableCoord result, final double px, final double py, final double pz)
 
WB_Coord translate (final WB_Coord p)
 
WB_Coord translateInto (final WB_MutableCoord result, final WB_Coord p)
 
WB_Point rotateAboutAxis2P (final double angle, final double p1x, final double p1y, final double p1z, final double p2x, final double p2y, final double p2z)
 
void rotateAboutAxis2PInto (final WB_MutableCoord result, 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 WB_Coord p1, final WB_Coord p2)
 
void rotateAboutAxis2PInto (final WB_MutableCoord result, 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)
 
void rotateAboutAxisInto (final WB_MutableCoord result, 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)
 
void rotateAboutAxisInto (final WB_MutableCoord result, 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)
 
void rotateAboutOriginInto (final WB_MutableCoord result, final double angle, final double x, final double y, final double z)
 
WB_Point rotateAboutOrigin (final double angle, final WB_Coord a)
 
void rotateAboutOriginInto (final WB_MutableCoord result, final double angle, final WB_Coord v)
 
WB_Point scale (final double f)
 
void scaleInto (final WB_MutableCoord result, final double f)
 
WB_Point scale (final double fx, final double fy, final double fz)
 
void scaleInto (final WB_MutableCoord result, final double fx, final double fy, final double fz)
 
HE_Vertex applySelf (final WB_Transform T)
 
HE_Vertex applyAsPointSelf (final WB_Transform T)
 
HE_Vertex applyAsVectorSelf (final WB_Transform T)
 
HE_Vertex applyAsNormalSelf (final WB_Transform T)
 
WB_Coord translateSelf (final double px, final double py, final double pz)
 
WB_Coord translateSelf (final WB_Coord p)
 
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 rotateAboutAxis2PSelf (final double angle, final WB_Coord p1, final WB_Coord p2)
 
HE_Vertex rotateAboutAxisSelf (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 rotateAboutOriginSelf (final double angle, final double x, final double y, final double z)
 
HE_Vertex rotateAboutOriginSelf (final double angle, final WB_Coord a)
 
HE_Vertex scaleSelf (final double f)
 
HE_Vertex scaleSelf (final double fx, final double fy, final double fz)
 
double getDistance2D (final WB_Coord p)
 
double getSqDistance2D (final WB_Coord p)
 
double getLength2D ()
 
double getSqLength2D ()
 
double getHeading2D ()
 
WB_Vector getOrthoNormal2D ()
 
boolean isCollinear2D (final WB_Coord p, final WB_Coord q)
 
boolean isParallel2D (final WB_Coord p)
 
boolean isParallel2D (final WB_Coord p, final double t)
 
boolean isParallelNorm2D (final WB_Coord p)
 
boolean isParallelNorm2D (final WB_Coord p, final double t)
 
boolean isOrthogonal2D (final WB_Coord p)
 
boolean isOrthogonal2D (final WB_Coord p, final double t)
 
boolean isOrthogonalNorm2D (final WB_Coord p)
 
boolean isOrthogonalNorm2D (final WB_Coord p, final double t)
 
double getDistance3D (final WB_Coord p)
 
double getDistance (final WB_Coord p)
 
double getSqDistance3D (final WB_Coord p)
 
double getSqDistance (final WB_Coord p)
 
double getLength3D ()
 
double getLength ()
 
double getSqLength3D ()
 
double getSqLength ()
 
double getAngle (final WB_Coord p)
 
double getAngleNorm (final WB_Coord p)
 
WB_Vector getOrthoNormal3D ()
 
WB_Vector getOrthoNormal ()
 
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 isOrthogonal (final WB_Coord p)
 
boolean isOrthogonal (final WB_Coord p, final double t)
 
boolean isOrthogonalNorm (final WB_Coord p)
 
boolean isOrthogonalNorm (final WB_Coord p, final double t)
 
void invert ()
 
double[] coords ()
 
int compareTo (final WB_Coord p)
 
int compareToY1st (final WB_Coord p)
 
boolean equals (final Object o)
 
int hashCode ()
 
String toString ()
 
- 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)
 
- 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_MutableCoordinateTransform3D
WB_Coord translateSelf (final double px, final double py, double pz)
 
- Public Member Functions inherited from wblut.geom.WB_CoordinateTransform3D
void applyInto (WB_MutableCoord result, final WB_Transform T)
 
WB_Coord translate (final double px, final double py, double pz)
 
WB_Coord translateInto (final WB_MutableCoord result, final double px, final double py, double pz)
 
void rotateAboutAxis2PInto (WB_MutableCoord result, final double angle, final double p1x, final double p1y, final double p1z, final double p2x, final double p2y, final double p2z)
 
void rotateAboutAxis2PInto (WB_MutableCoord result, final double angle, final WB_Coord p1, final WB_Coord p2)
 
void rotateAboutAxisInto (WB_MutableCoord result, final double angle, final double px, final double py, final double pz, final double ax, final double ay, final double az)
 
void rotateAboutAxisInto (WB_MutableCoord result, final double angle, final WB_Coord p, final WB_Coord a)
 
void rotateAboutOriginInto (WB_MutableCoord result, final double angle, final double x, final double y, final double z)
 
void rotateAboutOriginInto (WB_MutableCoord result, final double angle, final WB_Coord v)
 
void scaleInto (WB_MutableCoord result, final double fx, final double fy, final double fz)
 
void scaleInto (WB_MutableCoord result, final double f)
 
- Public Member Functions inherited from wblut.geom.WB_CoordinateTransform2D
void apply2DInto (WB_MutableCoord result, final WB_Transform2D T)
 
void rotateAboutPoint2DInto (WB_MutableCoord result, final double angle, final double px, final double py)
 
void rotateAboutPoint2DInto (WB_MutableCoord result, final double angle, final WB_Coord p)
 
void rotateAboutOrigin2DInto (WB_MutableCoord result, final double angle)
 
void scale2DInto (WB_MutableCoord result, final double fx, final double fy)
 
void scale2DInto (WB_MutableCoord result, final double f)
 
- Public Member Functions inherited from wblut.geom.WB_CoordinateMetric3D
boolean isCollinear (WB_Coord p, WB_Coord q)
 
boolean isParallel (WB_Coord p)
 
boolean isParallel (WB_Coord p, double tol)
 
boolean isParallelNorm (WB_Coord p)
 
boolean isParallelNorm (WB_Coord p, double tol)
 
boolean isOrthogonal (WB_Coord p)
 
boolean isOrthogonal (WB_Coord p, double tol)
 
boolean isOrthogonalNorm (WB_Coord p)
 
boolean isOrthogonalNorm (WB_Coord p, double tol)
 
- Public Member Functions inherited from wblut.geom.WB_CoordinateMetric2D
boolean isCollinear2D (WB_Coord p, WB_Coord q)
 
boolean isParallel2D (WB_Coord p)
 
boolean isParallel2D (WB_Coord p, double tol)
 
boolean isParallelNorm2D (WB_Coord p)
 
boolean isParallelNorm2D (WB_Coord p, double tol)
 
boolean isOrthogonal2D (WB_Coord p)
 
boolean isOrthogonal2D (WB_Coord p, double tol)
 
boolean isOrthogonalNorm2D (WB_Coord p)
 
boolean isOrthogonalNorm2D (WB_Coord p, double tol)
 

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 ()
 

Private Attributes

HE_Halfedge _halfedge
 
HE_TextureCoordinate uvw = null
 

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

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_CoordinateMath3D.

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_CoordinateMath2D.

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

Add coordinate values.

Parameters
x
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateMath2D.

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

Add coordinate values.

Parameters
p
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateMath2D.

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_CoordinateMath2D.

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_CoordinateMath2D.

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

Add multiple of coordinate values.

Parameters
fmultiplier
x
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateMath2D.

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_Coord

Implements wblut.geom.WB_CoordinateMath2D.

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_CoordinateMath2D.

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_CoordinateMath2D.

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

Add multiple of coordinate values.

Parameters
fmultiplier
x
Returns
this

Implements wblut.geom.WB_MutableCoordinateMath3D.

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

Add multiple of coordinate values.

Parameters
f
p
Returns
this

Implements wblut.geom.WB_MutableCoordinateMath3D.

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

Add coordinate values.

Parameters
p
Returns
this

Implements wblut.geom.WB_MutableCoordinateMath3D.

HE_Vertex wblut.hemesh.HE_Vertex.addSelf ( final double...  x)

Add coordinate values.

Parameters
x
Returns
this

Implements wblut.geom.WB_MutableCoordinateMath3D.

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

Apply WB_Transform. Mode (point, vector or normal) is decided by implementation.

Parameters
T
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateTransform3D.

WB_Point wblut.hemesh.HE_Vertex.apply2D ( final WB_Transform2D  T)

Apply WB_Transform2D. Mode (point, vector or normal) is decided by implementation.

Parameters
T
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateTransform2D.

void wblut.hemesh.HE_Vertex.apply2DInto ( final WB_MutableCoord  result,
final WB_Transform2D  T 
)
HE_Vertex wblut.hemesh.HE_Vertex.apply2DSelf ( final WB_Transform2D  T)
Parameters
T
Returns
this

Implements wblut.geom.WB_MutableCoordinateTransform3D.

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

Apply WB_Transform as normal.

Parameters
T
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateTransform3D.

WB_Vector wblut.hemesh.HE_Vertex.applyAsNormal2D ( final WB_Transform2D  T)

Apply WB_Transform2D as normal.

Parameters
T
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateTransform2D.

void wblut.hemesh.HE_Vertex.applyAsNormal2DInto ( final WB_MutableCoord  result,
final WB_Transform2D  T 
)

Apply WB_Transform2D as normal.

Parameters
result
T

Implements wblut.geom.WB_CoordinateTransform2D.

HE_Vertex wblut.hemesh.HE_Vertex.applyAsNormal2DSelf ( final WB_Transform2D  T)
Parameters
T
Returns
this

Implements wblut.geom.WB_MutableCoordinateTransform3D.

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

Apply WB_Transform as normal.

Parameters
result
T

Implements wblut.geom.WB_CoordinateTransform3D.

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

Implements wblut.geom.WB_MutableCoordinateTransform3D.

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

Apply WB_Transform as point.

Parameters
T
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateTransform3D.

WB_Point wblut.hemesh.HE_Vertex.applyAsPoint2D ( final WB_Transform2D  T)

Apply WB_Transform2D as point.

Parameters
T
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateTransform2D.

void wblut.hemesh.HE_Vertex.applyAsPoint2DInto ( final WB_MutableCoord  result,
final WB_Transform2D  T 
)

Apply WB_Transform2D as point.

Parameters
result
T

Implements wblut.geom.WB_CoordinateTransform2D.

HE_Vertex wblut.hemesh.HE_Vertex.applyAsPoint2DSelf ( final WB_Transform2D  T)
Parameters
T
Returns
this

Implements wblut.geom.WB_MutableCoordinateTransform3D.

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

Apply WB_Transform as point.

Parameters
result
T

Implements wblut.geom.WB_CoordinateTransform3D.

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

Implements wblut.geom.WB_MutableCoordinateTransform3D.

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

Apply WB_Transform as vector.

Parameters
T
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateTransform3D.

WB_Vector wblut.hemesh.HE_Vertex.applyAsVector2D ( final WB_Transform2D  T)

Apply WB_Transform2D as vector.

Parameters
T
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateTransform2D.

void wblut.hemesh.HE_Vertex.applyAsVector2DInto ( final WB_MutableCoord  result,
final WB_Transform2D  T 
)

Apply WB_Transform2D as vector.

Parameters
result
T

Implements wblut.geom.WB_CoordinateTransform2D.

HE_Vertex wblut.hemesh.HE_Vertex.applyAsVector2DSelf ( final WB_Transform2D  T)
Parameters
T
Returns
this

Implements wblut.geom.WB_MutableCoordinateTransform3D.

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

Apply WB_Transform as vector.

Parameters
result
T

Implements wblut.geom.WB_CoordinateTransform3D.

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

Implements wblut.geom.WB_MutableCoordinateTransform3D.

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
this

Implements wblut.geom.WB_MutableCoordinateTransform3D.

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
int wblut.hemesh.HE_Vertex.compareTo ( final WB_Coord  p)
int wblut.hemesh.HE_Vertex.compareToY1st ( final WB_Coord  p)
Parameters
p
Returns
double [] wblut.hemesh.HE_Vertex.coords ( )
Returns
HE_Vertex wblut.hemesh.HE_Vertex.copy ( )
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_Coord

Implements wblut.geom.WB_CoordinateMath3D.

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_CoordinateMath3D.

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

Implements wblut.geom.WB_MutableCoordinateMath3D.

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

Divide by factor.

Parameters
f
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateMath2D.

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_CoordinateMath2D.

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

Divide by factor.

Parameters
f
Returns
this

Implements wblut.geom.WB_MutableCoordinateMath3D.

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

dot product.

Parameters
p
Returns
dot product

Implements wblut.geom.WB_CoordinateMath3D.

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

2D dot product.

Parameters
p
Returns
2D dot product

Implements wblut.geom.WB_CoordinateMath2D.

boolean wblut.hemesh.HE_Vertex.equals ( final Object  o)
double wblut.hemesh.HE_Vertex.getAngle ( final WB_Coord  p)

Angle between two vectors.

Parameters
p
Returns

Implements wblut.geom.WB_CoordinateMetric2D.

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

Angle between two normalized vectors.

Parameters
p
Returns

Implements wblut.geom.WB_CoordinateMetric2D.

double wblut.hemesh.HE_Vertex.getAngularDefect ( )
Returns
WB_CoordinateSystem3D wblut.hemesh.HE_Vertex.getCurvatureDirections ( )
Returns
double wblut.hemesh.HE_Vertex.getd ( final int  i)
double wblut.hemesh.HE_Vertex.getDistance ( final WB_Coord  p)

3D distance to coordinate

Parameters
p
Returns

Implements wblut.geom.WB_CoordinateMetric3D.

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

2D distance to coordinate

Parameters
p
Returns

Implements wblut.geom.WB_CoordinateMetric2D.

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

Implements wblut.geom.WB_CoordinateMetric3D.

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 ( )

2D heading of vector.

Returns

Implements wblut.geom.WB_CoordinateMetric2D.

double wblut.hemesh.HE_Vertex.getLength ( )

Length of 3D coordinate.

Returns

Implements wblut.geom.WB_CoordinateMetric3D.

double wblut.hemesh.HE_Vertex.getLength2D ( )

Length of 2D coordinate.

Returns

Implements wblut.geom.WB_CoordinateMetric2D.

double wblut.hemesh.HE_Vertex.getLength3D ( )
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.getOrthoNormal ( )

Get vector perpendicular and CCW to this one.

Returns

Implements wblut.geom.WB_CoordinateMetric3D.

WB_Vector wblut.hemesh.HE_Vertex.getOrthoNormal2D ( )

Get 2D vector perpendicular and CCW to this one.

Returns

Implements wblut.geom.WB_CoordinateMetric2D.

WB_Vector wblut.hemesh.HE_Vertex.getOrthoNormal3D ( )
HE_Vertex wblut.hemesh.HE_Vertex.getPrevInFace ( )
double wblut.hemesh.HE_Vertex.getSqDistance ( final WB_Coord  p)

Square 3D distance to coordinate.

Parameters
p
Returns

Implements wblut.geom.WB_CoordinateMetric3D.

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

Square 2D distance to coordinate.

Parameters
p
Returns

Implements wblut.geom.WB_CoordinateMetric2D.

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

Implements wblut.geom.WB_CoordinateMetric3D.

double wblut.hemesh.HE_Vertex.getSqLength ( )

Square length of 3D coordinate.

Returns

Implements wblut.geom.WB_CoordinateMetric3D.

double wblut.hemesh.HE_Vertex.getSqLength2D ( )

Square length of 2D coordinate.

Returns

Implements wblut.geom.WB_CoordinateMetric2D.

double wblut.hemesh.HE_Vertex.getSqLength3D ( )
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_CoordinateSystem3D wblut.hemesh.HE_Vertex.getVertexCS ( )
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.isCollinear2D ( final WB_Coord  p,
final WB_Coord  q 
)
Parameters
p
q
Returns
boolean wblut.hemesh.HE_Vertex.isNeighbor ( final HE_Vertex  v)
boolean wblut.hemesh.HE_Vertex.isOrthogonal ( final WB_Coord  p)
Parameters
p
Returns
boolean wblut.hemesh.HE_Vertex.isOrthogonal ( final WB_Coord  p,
final double  t 
)
Parameters
p
t
Returns
boolean wblut.hemesh.HE_Vertex.isOrthogonal2D ( final WB_Coord  p)
Parameters
p
Returns
boolean wblut.hemesh.HE_Vertex.isOrthogonal2D ( final WB_Coord  p,
final double  t 
)
Parameters
p
t
Returns
boolean wblut.hemesh.HE_Vertex.isOrthogonalNorm ( final WB_Coord  p)
Parameters
p
Returns
boolean wblut.hemesh.HE_Vertex.isOrthogonalNorm ( final WB_Coord  p,
final double  t 
)
Parameters
p
t
Returns
boolean wblut.hemesh.HE_Vertex.isOrthogonalNorm2D ( final WB_Coord  p)
Parameters
p
Returns
boolean wblut.hemesh.HE_Vertex.isOrthogonalNorm2D ( final WB_Coord  p,
final double  t 
)
Parameters
p
t
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.isParallel2D ( final WB_Coord  p)
Parameters
p
Returns
boolean wblut.hemesh.HE_Vertex.isParallel2D ( 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.isParallelNorm2D ( final WB_Coord  p)
Parameters
p
Returns
boolean wblut.hemesh.HE_Vertex.isParallelNorm2D ( final WB_Coord  p,
final double  t 
)
Parameters
p
t
Returns
boolean wblut.hemesh.HE_Vertex.isZero ( )

Is this a degenerate vector?

Returns

Implements wblut.geom.WB_CoordinateMetric3D.

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_Coord

Implements wblut.geom.WB_CoordinateMath2D.

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_Coord

Implements wblut.geom.WB_CoordinateMath2D.

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_Coord

Implements wblut.geom.WB_CoordinateMath2D.

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_CoordinateMath2D.

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_CoordinateMath2D.

HE_Vertex wblut.hemesh.HE_Vertex.mulAddMulSelf ( 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
this

Implements wblut.geom.WB_MutableCoordinateMath3D.

HE_Vertex wblut.hemesh.HE_Vertex.mulAddMulSelf ( 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
this

Implements wblut.geom.WB_MutableCoordinateMath3D.

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_CoordinateMath2D.

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

Multiply by factor.

Parameters
f
Returns
this

Implements wblut.geom.WB_MutableCoordinateMath3D.

double wblut.hemesh.HE_Vertex.normalizeSelf ( )

Normalize this vector. Return the length before normalization. If this vector is degenerate 0 is returned and the vector remains the zero vector.

Returns
this

Implements wblut.geom.WB_MutableCoordinateMath3D.

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 
)

Rotate around axis defined by point and direction.

Parameters
angle
px
py
pz
ax
ay
az
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateTransform3D.

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

Rotate around axis defined by point and direction.

Parameters
angle
p
a
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateTransform3D.

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 
)

Rotate around axis defined by two points.

Parameters
angle
p1x
p1y
p1z
p2x
p2y
p2z
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateTransform3D.

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_CoordinateTransform3D.

void wblut.hemesh.HE_Vertex.rotateAboutAxis2PInto ( final WB_MutableCoord  result,
final double  angle,
final double  p1x,
final double  p1y,
final double  p1z,
final double  p2x,
final double  p2y,
final double  p2z 
)
void wblut.hemesh.HE_Vertex.rotateAboutAxis2PInto ( final WB_MutableCoord  result,
final double  angle,
final WB_Coord  p1,
final WB_Coord  p2 
)
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
this

Implements wblut.geom.WB_MutableCoordinateTransform3D.

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

Implements wblut.geom.WB_MutableCoordinateTransform3D.

void wblut.hemesh.HE_Vertex.rotateAboutAxisInto ( final WB_MutableCoord  result,
final double  angle,
final double  px,
final double  py,
final double  pz,
final double  ax,
final double  ay,
final double  az 
)
void wblut.hemesh.HE_Vertex.rotateAboutAxisInto ( final WB_MutableCoord  result,
final double  angle,
final WB_Coord  p,
final WB_Coord  a 
)
HE_Vertex wblut.hemesh.HE_Vertex.rotateAboutAxisSelf ( final double  angle,
final WB_Coord  p,
final WB_Coord  a 
)
Parameters
angle
p
a
Returns
this

Implements wblut.geom.WB_MutableCoordinateTransform3D.

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
this

Implements wblut.geom.WB_MutableCoordinateTransform3D.

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

Rotate around axis defined by origin and direction.

Parameters
angle
x
y
z
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateTransform3D.

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

Rotate around axis defined by origin and direction.

Parameters
angle
v
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateTransform3D.

WB_Point wblut.hemesh.HE_Vertex.rotateAboutOrigin2D ( final double  angle)

Rotate around origin.

Parameters
angle
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateTransform2D.

void wblut.hemesh.HE_Vertex.rotateAboutOrigin2DInto ( final WB_MutableCoord  result,
final double  angle 
)
HE_Vertex wblut.hemesh.HE_Vertex.rotateAboutOrigin2DSelf ( final double  angle)
Parameters
angle
Returns
this

Implements wblut.geom.WB_MutableCoordinateTransform3D.

void wblut.hemesh.HE_Vertex.rotateAboutOriginInto ( final WB_MutableCoord  result,
final double  angle,
final double  x,
final double  y,
final double  z 
)
void wblut.hemesh.HE_Vertex.rotateAboutOriginInto ( final WB_MutableCoord  result,
final double  angle,
final WB_Coord  v 
)
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
this

Implements wblut.geom.WB_MutableCoordinateTransform3D.

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

Implements wblut.geom.WB_MutableCoordinateTransform3D.

WB_Point wblut.hemesh.HE_Vertex.rotateAboutPoint2D ( final double  angle,
final double  px,
final double  py 
)

Rotate around point.

Parameters
angle
px
py
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateTransform2D.

WB_Point wblut.hemesh.HE_Vertex.rotateAboutPoint2D ( final double  angle,
final WB_Coord  p 
)

Rotate around point.

Parameters
angle
p
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateTransform2D.

void wblut.hemesh.HE_Vertex.rotateAboutPoint2DInto ( final WB_MutableCoord  result,
final double  angle,
final double  px,
final double  py 
)
void wblut.hemesh.HE_Vertex.rotateAboutPoint2DInto ( final WB_MutableCoord  result,
final double  angle,
final WB_Coord  p 
)
HE_Vertex wblut.hemesh.HE_Vertex.rotateAboutPoint2DSelf ( final double  angle,
final double  px,
final double  py 
)
Parameters
angle
px
py
Returns
this

Implements wblut.geom.WB_MutableCoordinateTransform3D.

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

Implements wblut.geom.WB_MutableCoordinateTransform3D.

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_CoordinateMath3D.

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

Implements wblut.geom.WB_CoordinateTransform3D.

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_CoordinateTransform3D.

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

Uniform scale.

Parameters
f
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateTransform2D.

WB_Point wblut.hemesh.HE_Vertex.scale2D ( final double  fx,
final double  fy 
)

Non-uniform scale.

Parameters
fx
fy
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateTransform2D.

void wblut.hemesh.HE_Vertex.scale2DInto ( final WB_MutableCoord  result,
final double  f 
)
void wblut.hemesh.HE_Vertex.scale2DInto ( final WB_MutableCoord  result,
final double  fx,
final double  fy 
)
HE_Vertex wblut.hemesh.HE_Vertex.scale2DSelf ( final double  f)
Parameters
f
Returns
this

Implements wblut.geom.WB_MutableCoordinateTransform3D.

HE_Vertex wblut.hemesh.HE_Vertex.scale2DSelf ( final double  fx,
final double  fy 
)
Parameters
fx
fy
Returns
this

Implements wblut.geom.WB_MutableCoordinateTransform3D.

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
this

Implements wblut.geom.WB_MutableCoordinateTransform3D.

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

Implements wblut.geom.WB_MutableCoordinateTransform3D.

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.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)
WB_Point wblut.hemesh.HE_Vertex.sub ( final double...  x)

Subtract coordinate values.

Parameters
x
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateMath2D.

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

Subtract coordinate values.

Parameters
p
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateMath2D.

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_CoordinateMath2D.

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_CoordinateMath2D.

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

Subtract coordinate values.

Parameters
x
Returns
this

Implements wblut.geom.WB_MutableCoordinateMath3D.

HE_Vertex wblut.hemesh.HE_Vertex.subSelf ( final WB_Coord  p)

Subtract coordinate values.

Parameters
p
Returns
this

Implements wblut.geom.WB_MutableCoordinateMath3D.

WB_M33 wblut.hemesh.HE_Vertex.tensor ( final WB_Coord  v)

Tensor product.

Parameters
v
Returns
tensor product

Implements wblut.geom.WB_CoordinateMath3D.

String wblut.hemesh.HE_Vertex.toString ( )
WB_Coord wblut.hemesh.HE_Vertex.translate ( final double  px,
final double  py,
final double  pz 
)
WB_Coord wblut.hemesh.HE_Vertex.translate ( final WB_Coord  p)

3D translate.

Parameters
p
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateTransform3D.

WB_Coord wblut.hemesh.HE_Vertex.translate2D ( final double  px,
final double  py 
)

2D translate.

Parameters
px
py
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateTransform2D.

WB_Coord wblut.hemesh.HE_Vertex.translate2D ( final WB_Coord  p)

2D translate.

Parameters
p
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateTransform2D.

void wblut.hemesh.HE_Vertex.translate2DInto ( final WB_MutableCoord  result,
final double  px,
final double  py 
)

2D translate.

Parameters
result
px
py

Implements wblut.geom.WB_CoordinateTransform2D.

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

2D translate.

Parameters
result
p

Implements wblut.geom.WB_CoordinateTransform2D.

WB_Coord wblut.hemesh.HE_Vertex.translate2DSelf ( final double  px,
final double  py 
)

2D translate.

Parameters
px
py
Returns
this

Implements wblut.geom.WB_MutableCoordinateTransform3D.

WB_Coord wblut.hemesh.HE_Vertex.translate2DSelf ( final WB_Coord  p)

2D translate.

Parameters
p
Returns
this

Implements wblut.geom.WB_MutableCoordinateTransform3D.

WB_Coord wblut.hemesh.HE_Vertex.translateInto ( final WB_MutableCoord  result,
final double  px,
final double  py,
final double  pz 
)
WB_Coord wblut.hemesh.HE_Vertex.translateInto ( final WB_MutableCoord  result,
final WB_Coord  p 
)

3D translate.

Parameters
result
p
Returns
new WB_Coord

Implements wblut.geom.WB_CoordinateTransform3D.

WB_Coord wblut.hemesh.HE_Vertex.translateSelf ( final double  px,
final double  py,
final double  pz 
)
WB_Coord wblut.hemesh.HE_Vertex.translateSelf ( final WB_Coord  p)

3D translate.

Parameters
p
Returns
this

Implements wblut.geom.WB_MutableCoordinateTransform3D.

HE_Vertex wblut.hemesh.HE_Vertex.trimSelf ( final double  d)

If vector is larger than given value, trim vector.

Parameters
d
Returns
this

Implements wblut.geom.WB_MutableCoordinateMath3D.

HE_VertexEdgeCirculator wblut.hemesh.HE_Vertex.veCrc ( )
Returns
HE_VertexEdgeRevCirculator wblut.hemesh.HE_Vertex.veRevCrc ( )
Returns
HE_VertexFaceCirculator wblut.hemesh.HE_Vertex.vfCrc ( )
Returns
HE_VertexFaceRevCirculator wblut.hemesh.HE_Vertex.vfRevCrc ( )
Returns
HE_VertexHalfedgeInCirculator wblut.hemesh.HE_Vertex.vheiCrc ( )
Returns
HE_VertexHalfedgeInRevCirculator wblut.hemesh.HE_Vertex.vheiRevCrc ( )
Returns
HE_VertexHalfedgeOutCirculator wblut.hemesh.HE_Vertex.vheoCrc ( )
Returns
HE_VertexHalfedgeOutRevCirculator wblut.hemesh.HE_Vertex.vheoRevCrc ( )
Returns
HE_VertexVertexCirculator wblut.hemesh.HE_Vertex.vvCrc ( )
Returns
HE_VertexVertexRevCirculator wblut.hemesh.HE_Vertex.vvRevCrc ( )
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

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