QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
opennurbs_mesh.h File Reference

Go to the source code of this file.

Classes

struct  ON_MeshTopology::memchunk
 
class  ON_MappingTag
 
class  ON_Mesh
 
class  ON_MeshCurvatureStats
 
class  ON_MeshEdgeRef
 
class  ON_MeshFace
 
class  ON_MeshFaceRef
 
struct  ON_MeshNgon
 
class  ON_MeshNgonList
 
class  ON_MeshParameters
 
struct  ON_MeshPart
 
class  ON_MeshPartition
 
class  ON_MeshTopology
 
struct  ON_MeshTopologyEdge
 
struct  ON_MeshTopologyFace
 
struct  ON_MeshTopologyVertex
 
class  ON_MeshVertexRef
 
class  ON_TextureCoordinates
 

Functions

ON_DECL bool ON_ClosestPointToTriangle (ON_3dPoint A, ON_3dPoint B, ON_3dPoint C, ON_3dPoint P, double *a, double *b, double *c)
 
ON_DECL bool ON_ClosestPointToTriangleFast (const ON_3dPoint &A, const ON_3dPoint &B, const ON_3dPoint &C, ON_3dPoint P, double *a, double *b, double *c)
 
ON_DECL ON_MeshON_ControlPolygonMesh (const ON_NurbsSurface &nurbs_surface, bool bCleanMesh, ON_Mesh *input_mesh=NULL)
 
ON_DECL int ON_LineTriangleIntersect (const ON_3dPoint &A, const ON_3dPoint &B, const ON_3dPoint &C, const ON_3dPoint &P, const ON_3dPoint &Q, double abc[2][3], double t[2], double tol)
 
ON_DECL bool ON_Mesh2dPolygon (int point_count, int point_stride, const double *P, int tri_stride, int *triangle)
 
ON_DECL int ON_Mesh2dRegion (int point_count, int point_stride, const double *point, int edge_count, int edge_stride, const int *edge, const int *edge_side, ON_SimpleArray< ON_3dex > &triangles)
 
ON_DECL ON_MeshON_MeshSurface (const ON_Surface &surface, int mesh_density=0, ON_Mesh *mesh=0)
 
ON_DECL ON_MeshON_MeshSurface (const ON_Surface &surface, int u_count, const double *u, int v_count, const double *v, ON_Mesh *mesh=0)
 
ON_DECL ON_3dVector ON_TriangleNormal (const ON_3dPoint &A, const ON_3dPoint &B, const ON_3dPoint &C)
 

Function Documentation

◆ ON_ClosestPointToTriangle()

ON_DECL bool ON_ClosestPointToTriangle ( ON_3dPoint A,
ON_3dPoint B,
ON_3dPoint C,
ON_3dPoint P,
double * a,
double * b,
double * c )

◆ ON_ClosestPointToTriangleFast()

ON_DECL bool ON_ClosestPointToTriangleFast ( const ON_3dPoint & A,
const ON_3dPoint & B,
const ON_3dPoint & C,
ON_3dPoint P,
double * a,
double * b,
double * c )

◆ ON_ControlPolygonMesh()

ON_DECL ON_Mesh * ON_ControlPolygonMesh ( const ON_NurbsSurface & nurbs_surface,
bool bCleanMesh,
ON_Mesh * input_mesh = NULL )

◆ ON_LineTriangleIntersect()

ON_DECL int ON_LineTriangleIntersect ( const ON_3dPoint & A,
const ON_3dPoint & B,
const ON_3dPoint & C,
const ON_3dPoint & P,
const ON_3dPoint & Q,
double abc[2][3],
double t[2],
double tol )

◆ ON_Mesh2dPolygon()

ON_DECL bool ON_Mesh2dPolygon ( int point_count,
int point_stride,
const double * P,
int tri_stride,
int * triangle )

◆ ON_Mesh2dRegion()

ON_DECL int ON_Mesh2dRegion ( int point_count,
int point_stride,
const double * point,
int edge_count,
int edge_stride,
const int * edge,
const int * edge_side,
ON_SimpleArray< ON_3dex > & triangles )

◆ ON_MeshSurface() [1/2]

ON_DECL ON_Mesh * ON_MeshSurface ( const ON_Surface & surface,
int mesh_density = 0,
ON_Mesh * mesh = 0 )

◆ ON_MeshSurface() [2/2]

ON_DECL ON_Mesh * ON_MeshSurface ( const ON_Surface & surface,
int u_count,
const double * u,
int v_count,
const double * v,
ON_Mesh * mesh = 0 )

◆ ON_TriangleNormal()

ON_DECL ON_3dVector ON_TriangleNormal ( const ON_3dPoint & A,
const ON_3dPoint & B,
const ON_3dPoint & C )