HE_Mesh2014  2.0.11
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
wblut.geom.Tri_Point Class Reference
+ Inheritance diagram for wblut.geom.Tri_Point:

Public Member Functions

 Tri_Point ()
 
 Tri_Point (final WB_Coordinate p)
 
 Tri_Point (final double x, final double y)
 
 Tri_Point (final Tri_Point p)
 
void setType (final int type)
 
boolean isType (final int type)
 
- Public Member Functions inherited from wblut.geom.WB_SimpleVector
 WB_SimpleVector ()
 
 WB_SimpleVector (final double x, final double y)
 
 WB_SimpleVector (final double x, final double y, final double z)
 
 WB_SimpleVector (final double[] x)
 
 WB_SimpleVector (final double[] fromPoint, final double[] toPoint)
 
 WB_SimpleVector (final WB_Coordinate v)
 
 WB_SimpleVector (final WB_Coordinate fromPoint, final WB_Coordinate toPoint)
 
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)
 
void set (final WB_Coordinate v)
 
void setCoord (final int i, final double v)
 
void setW (final double w)
 
void setX (final double x)
 
void setY (final double y)
 
void setZ (final double z)
 
double wd ()
 
float wf ()
 
double xd ()
 
float xf ()
 
double yd ()
 
float yf ()
 
double zd ()
 
float zf ()
 
double getd (final int i)
 
float getf (final int i)
 
int compareTo (final WB_Coordinate p)
 
- Public Member Functions inherited from wblut.geom.WB_MutableCoordinate
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_Coordinate 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_Coordinate
double getd (int i)
 
float getf (int i)
 

Public Attributes

Tri_HalfEdge he = null
 
int type = INTERIOR
 
Tri_Point pair
 

Static Public Attributes

static final int INTERIOR = 0
 
static final int BOUNDARY = 1
 
static final int DELETED = 2
 
static final int TRANSLATED = 3
 
static final int XSECTION = 4
 
static final int BOUNDS = 5
 

Detailed Description

Represents a 2D vertex in a triangulation. Contains references to a halfedge in the star of the vertex, to 3D coordinates (for 3D meshing), and to a "paired" point (for encoding symmetry information).

Author
Mark Howison

Constructor & Destructor Documentation

wblut.geom.Tri_Point.Tri_Point ( )

Constructs a new point with 2D coordinates (0,0).

wblut.geom.Tri_Point.Tri_Point ( final WB_Coordinate  p)

Constructs a new point with the same 2D coordinates as p.

Parameters
p
wblut.geom.Tri_Point.Tri_Point ( final double  x,
final double  y 
)

Constructs a new point with 2D coordinates (x,y).

Parameters
x
y
wblut.geom.Tri_Point.Tri_Point ( final Tri_Point  p)

Shallow copy of point p. All pointers are copied, but not the underlying objects. 2D and 3D coordinates are set to those of p.

Parameters
p

Member Function Documentation

boolean wblut.geom.Tri_Point.isType ( final int  type)

Tests if this point is of type. Use the static int flags to specify type.

Parameters
type
Returns
void wblut.geom.Tri_Point.setType ( final int  type)

Sets the point type (interior, boundary, etc.). Use the static int flags to specify type.

Parameters
type

Member Data Documentation

final int wblut.geom.Tri_Point.BOUNDARY = 1
static
final int wblut.geom.Tri_Point.BOUNDS = 5
static
final int wblut.geom.Tri_Point.DELETED = 2
static
Tri_HalfEdge wblut.geom.Tri_Point.he = null
final int wblut.geom.Tri_Point.INTERIOR = 0
static
Tri_Point wblut.geom.Tri_Point.pair
final int wblut.geom.Tri_Point.TRANSLATED = 3
static
int wblut.geom.Tri_Point.type = INTERIOR
final int wblut.geom.Tri_Point.XSECTION = 4
static

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