| TriangleMeshAdd Method (Triangle, Boolean) |
Adds the triangle.
Namespace: DigitalRune.Geometry.MeshesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public void Add(
Triangle triangle,
bool weldVerticesBruteForce
)
Public Sub Add (
triangle As Triangle,
weldVerticesBruteForce As Boolean
)
public:
void Add(
Triangle triangle,
bool weldVerticesBruteForce
)
member Add :
triangle : Triangle *
weldVerticesBruteForce : bool -> unit
Parameters
- triangle
- Type: DigitalRune.Geometry.ShapesTriangle
The triangle. - weldVerticesBruteForce
- Type: SystemBoolean
If set to , vertex welding is performed. A brute-force method is used
for welding which can be very slow for large triangle meshes. For large meshes it is
recommended to call WeldVertices after all triangles have been added.
Remarks See Also