| TriangleMeshAdd Method (ITriangleMesh, Boolean) |
Adds the triangles of the specified mesh.
Namespace: DigitalRune.Geometry.MeshesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public void Add(
ITriangleMesh mesh,
bool weldVerticesBruteForce
)
Public Sub Add (
mesh As ITriangleMesh,
weldVerticesBruteForce As Boolean
)
public:
void Add(
ITriangleMesh^ mesh,
bool weldVerticesBruteForce
)
member Add :
mesh : ITriangleMesh *
weldVerticesBruteForce : bool -> unit
Parameters
- mesh
- Type: DigitalRune.Geometry.MeshesITriangleMesh
The mesh. - 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