My Project
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Pages
Public Member Functions | Static Public Member Functions | List of all members
TriangleNet.Meshing.GenericMesher Class Reference

Create meshes of point sets or polygons. More...

Public Member Functions

 GenericMesher (ITriangulator triangulator)
 
 GenericMesher (Configuration config)
 
 GenericMesher (ITriangulator triangulator, Configuration config)
 
IMesh Triangulate (IList< Vertex > points)
 
IMesh Triangulate (IPolygon polygon)
 
IMesh Triangulate (IPolygon polygon, ConstraintOptions options)
 
IMesh Triangulate (IPolygon polygon, QualityOptions quality)
 
IMesh Triangulate (IPolygon polygon, ConstraintOptions options, QualityOptions quality)
 

Static Public Member Functions

static IMesh StructuredMesh (float width, float height, int nx, int ny)
 Generates a structured mesh with bounds [0, 0, width, height].
 
static IMesh StructuredMesh (Rectangle bounds, int nx, int ny)
 Generates a structured mesh.
 

Detailed Description

Create meshes of point sets or polygons.

Member Function Documentation

◆ StructuredMesh() [1/2]

static IMesh TriangleNet.Meshing.GenericMesher.StructuredMesh ( float  width,
float  height,
int  nx,
int  ny 
)
inlinestatic

Generates a structured mesh with bounds [0, 0, width, height].

Parameters
widthWidth of the mesh (must be > 0).
heightHeight of the mesh (must be > 0).
nxNumber of segments in x direction.
nyNumber of segments in y direction.
Returns
Mesh

◆ StructuredMesh() [2/2]

static IMesh TriangleNet.Meshing.GenericMesher.StructuredMesh ( Rectangle  bounds,
int  nx,
int  ny 
)
inlinestatic

Generates a structured mesh.

Parameters
boundsBounds of the mesh.
nxNumber of segments in x direction.
nyNumber of segments in y direction.
Returns
Mesh

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