Class TriangulatedPolygonGenerator
Triangulate a 2D polygon-with-holes by inserting it's edges into a meshed rectangle
and then removing the triangles outside the polygon.
Inheritance
TriangulatedPolygonGenerator
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
public class TriangulatedPolygonGenerator : MeshGenerator
Fields
FixedNormal
Declaration
public Vector3f FixedNormal
Field Value
Polygon
Declaration
public GeneralPolygon2d Polygon
Field Value
Subdivisions
Declaration
Field Value
UVMode
Declaration
public TrivialRectGenerator.UVModes UVMode
Field Value
Methods
ComputeResult(out MeshInsertPolygon)
Actually computes the insertion. In some cases we would like more info
coming back than we get by using Generate() api. Note that resulting
mesh is not compacted.
Declaration
public DMesh3 ComputeResult(out MeshInsertPolygon insertion)
Parameters
Returns
Generate()
Declaration
public override MeshGenerator Generate()
Returns
Overrides