Click or drag to resize
DigitalRuneTriangleMeshShapeInvalidate Method (Boolean)
Invalidates the triangle mesh.

Namespace: DigitalRune.Geometry.Shapes
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public void Invalidate(
	bool invalidateTopology
)

Parameters

invalidateTopology
Type: SystemBoolean
if set to the mesh topology is invalidated.
Remarks

This method must be called if the position of a triangle stored in Mesh is changed. This method updates the Partition and raises the Changed event by calling OnChanged(ShapeChangedEventArgs).

If the mesh topology has changed, invalidateTopology must be set to . The topology has changed if triangle neighbor relationships have changed. If each triangle has the same neighbor triangles as before and only the vertices were moved, invalidateTopology can be .

See Also