HE_Mesh  5.0.0
wblut.geom.WB_Mesh Class Reference
+ Inheritance diagram for wblut.geom.WB_Mesh:

Classes

class  FaceNormalRunner
 
class  TriangulateRunner
 

Public Member Functions

WB_Mesh get ()
 
int[][] getFacesAsInt ()
 
int[][] getEdgesAsInt ()
 
WB_Plane getPlane (final int id, final double d)
 
WB_Plane getPlane (final int id)
 
List< WB_PlanegetPlanes (final double d)
 
List< WB_PlanegetPlanes ()
 
WB_Polygon getPolygon (final int id)
 
List< WB_PolygongetPolygons ()
 
WB_Point getCenter ()
 
WB_AABB getAABB ()
 
WB_Mesh isoFitInAABB (final WB_AABB AABB)
 
WB_Mesh triangulate ()
 
WB_Mesh triangulateForceST ()
 
WB_Mesh triangulateForceMT ()
 
WB_Vector getFaceNormal (final int id)
 
WB_Point getFaceCenter (final int id)
 
WB_Vector getVertexNormal (final int i)
 
int getNumberOfFaces ()
 
int getNumberOfVertices ()
 
WB_Coord getVertex (final int i)
 
List< WB_CoordgetPoints ()
 
int[] vfNeighbors (final int i)
 
int[] getFace (final int i)
 
WB_Mesh apply (final WB_Transform WB_Point)
 
double k1 (final int i)
 
double k2 (final int i)
 
double K (final int i)
 
double k1min ()
 
double k2min ()
 
double Kmin ()
 
double k1max ()
 
double k2max ()
 
double Kmax ()
 
WB_Vector k1dir (final int i)
 
WB_Vector k2dir (final int i)
 
double[] DCurv (final int i)
 
double DCurvInvariant (final int i)
 

Protected Member Functions

 WB_Mesh ()
 
 WB_Mesh (final WB_Mesh mesh)
 
 WB_Mesh (final Collection<?extends WB_Coord > points, final int[][] faces)
 
 WB_Mesh (final WB_Coord[] points, final int[][] faces)
 

Protected Attributes

int[][] faces
 
List< WB_Coordvertices
 
WB_AABB aabb
 

Private Member Functions

List< WB_CoordcreateVertices (final Collection<?extends WB_Coord > points)
 
List< WB_CoordcreateVertices (final WB_Coord[] points)
 
WB_Mesh triangulateST ()
 
WB_Mesh triangulateMT ()
 
void updatevfNeighbors ()
 
void updateVertexNormals ()
 
void updateVertexNormalsAngle ()
 
void updateFaceNormalsST ()
 
void updateFaceNormalsMT ()
 
void updateCurvatures ()
 
void updateDCurvatures ()
 

Private Attributes

WB_GeometryFactory geometryfactory = new WB_GeometryFactory()
 

Constructor & Destructor Documentation

wblut.geom.WB_Mesh.WB_Mesh ( )
protected
wblut.geom.WB_Mesh.WB_Mesh ( final WB_Mesh  mesh)
protected
Parameters
mesh
wblut.geom.WB_Mesh.WB_Mesh ( final Collection<?extends WB_Coord points,
final int  faces[][] 
)
protected
Parameters
points
faces
wblut.geom.WB_Mesh.WB_Mesh ( final WB_Coord[]  points,
final int  faces[][] 
)
protected
Parameters
points
faces

Member Function Documentation

WB_Mesh wblut.geom.WB_Mesh.apply ( final WB_Transform  WB_Point)
List<WB_Coord> wblut.geom.WB_Mesh.createVertices ( final Collection<?extends WB_Coord points)
private
Parameters
points
Returns
List<WB_Coord> wblut.geom.WB_Mesh.createVertices ( final WB_Coord[]  points)
private
Parameters
points
Returns
double [] wblut.geom.WB_Mesh.DCurv ( final int  i)
Parameters
i
Returns
double wblut.geom.WB_Mesh.DCurvInvariant ( final int  i)
Parameters
i
Returns
WB_Mesh wblut.geom.WB_Mesh.get ( )
Returns
WB_AABB wblut.geom.WB_Mesh.getAABB ( )
WB_Point wblut.geom.WB_Mesh.getCenter ( )
int [][] wblut.geom.WB_Mesh.getEdgesAsInt ( )
int [] wblut.geom.WB_Mesh.getFace ( final int  i)
Parameters
i
Returns
WB_Point wblut.geom.WB_Mesh.getFaceCenter ( final int  id)
WB_Vector wblut.geom.WB_Mesh.getFaceNormal ( final int  id)
int [][] wblut.geom.WB_Mesh.getFacesAsInt ( )
int wblut.geom.WB_Mesh.getNumberOfFaces ( )
int wblut.geom.WB_Mesh.getNumberOfVertices ( )
WB_Plane wblut.geom.WB_Mesh.getPlane ( final int  id,
final double  d 
)
Parameters
id
d
Returns
WB_Plane wblut.geom.WB_Mesh.getPlane ( final int  id)
Parameters
id
Returns
List<WB_Plane> wblut.geom.WB_Mesh.getPlanes ( final double  d)
Parameters
d
Returns
List<WB_Plane> wblut.geom.WB_Mesh.getPlanes ( )
Returns
List<WB_Coord> wblut.geom.WB_Mesh.getPoints ( )
WB_Polygon wblut.geom.WB_Mesh.getPolygon ( final int  id)
Parameters
id
Returns
List<WB_Polygon> wblut.geom.WB_Mesh.getPolygons ( )
Returns
WB_Coord wblut.geom.WB_Mesh.getVertex ( final int  i)
WB_Vector wblut.geom.WB_Mesh.getVertexNormal ( final int  i)
WB_Mesh wblut.geom.WB_Mesh.isoFitInAABB ( final WB_AABB  AABB)
Parameters
AABB
Returns
double wblut.geom.WB_Mesh.K ( final int  i)
Parameters
i
Returns
double wblut.geom.WB_Mesh.k1 ( final int  i)
Parameters
i
Returns
WB_Vector wblut.geom.WB_Mesh.k1dir ( final int  i)
Parameters
i
Returns
double wblut.geom.WB_Mesh.k1max ( )
Returns
double wblut.geom.WB_Mesh.k1min ( )
Returns
double wblut.geom.WB_Mesh.k2 ( final int  i)
Parameters
i
Returns
WB_Vector wblut.geom.WB_Mesh.k2dir ( final int  i)
Parameters
i
Returns
double wblut.geom.WB_Mesh.k2max ( )
Returns
double wblut.geom.WB_Mesh.k2min ( )
Returns
double wblut.geom.WB_Mesh.Kmax ( )
Returns
double wblut.geom.WB_Mesh.Kmin ( )
Returns
WB_Mesh wblut.geom.WB_Mesh.triangulate ( )
Returns
WB_Mesh wblut.geom.WB_Mesh.triangulateForceMT ( )
Returns
WB_Mesh wblut.geom.WB_Mesh.triangulateForceST ( )
Returns
WB_Mesh wblut.geom.WB_Mesh.triangulateMT ( )
private
Returns
WB_Mesh wblut.geom.WB_Mesh.triangulateST ( )
private
Returns
void wblut.geom.WB_Mesh.updateCurvatures ( )
private
void wblut.geom.WB_Mesh.updateDCurvatures ( )
private
void wblut.geom.WB_Mesh.updateFaceNormalsMT ( )
private
void wblut.geom.WB_Mesh.updateFaceNormalsST ( )
private
void wblut.geom.WB_Mesh.updateVertexNormals ( )
private
void wblut.geom.WB_Mesh.updateVertexNormalsAngle ( )
private
void wblut.geom.WB_Mesh.updatevfNeighbors ( )
private
int [] wblut.geom.WB_Mesh.vfNeighbors ( final int  i)
Parameters
i
Returns

Member Data Documentation

WB_AABB wblut.geom.WB_Mesh.aabb
protected
int [][] wblut.geom.WB_Mesh.faces
protected
WB_GeometryFactory wblut.geom.WB_Mesh.geometryfactory = new WB_GeometryFactory()
private
List<WB_Coord> wblut.geom.WB_Mesh.vertices
protected

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