My Project
Loading...
Searching...
No Matches
Properties | List of all members
TriangleNet.Meshing.QualityOptions Class Reference

Mesh constraint options for quality triangulation. More...

Properties

float MaximumAngle [get, set]
 Gets or sets a maximum angle constraint.
 
float MinimumAngle [get, set]
 Gets or sets a minimum angle constraint.
 
float MaximumArea [get, set]
 Gets or sets a maximum triangle area constraint.
 
Func< ITriangle, float, bool > UserTest [get, set]
 Gets or sets a user-defined triangle constraint.
 
bool VariableArea [get, set]
 Gets or sets an area constraint per triangle.
 
int SteinerPoints [get, set]
 Gets or sets the maximum number of Steiner points to be inserted into the mesh.
 

Detailed Description

Mesh constraint options for quality triangulation.

Property Documentation

◆ SteinerPoints

int TriangleNet.Meshing.QualityOptions.SteinerPoints
getset

Gets or sets the maximum number of Steiner points to be inserted into the mesh.

If the value is 0 (default), an unknown number of Steiner points may be inserted to meet the other quality constraints.

◆ UserTest

Func<ITriangle, float, bool> TriangleNet.Meshing.QualityOptions.UserTest
getset

Gets or sets a user-defined triangle constraint.

The test function will be called for each triangle in the mesh. The second argument is the area of the triangle tested. If the function returns true, the triangle is considered bad and will be refined.

◆ VariableArea

bool TriangleNet.Meshing.QualityOptions.VariableArea
getset

Gets or sets an area constraint per triangle.

If this flag is set to true, the ITriangle.Area value will be used to check if a triangle needs refinement.


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