Click or drag to resize
DigitalRuneLineShapeOnGetMesh Method
Called when a mesh should be generated for the shape.

Namespace: DigitalRune.Geometry.Shapes
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
protected override TriangleMesh OnGetMesh(
	float absoluteDistanceThreshold,
	int iterationLimit
)

Parameters

absoluteDistanceThreshold
Type: SystemSingle
The absolute distance threshold.
iterationLimit
Type: SystemInt32
The iteration limit.

Return Value

Type: TriangleMesh
The triangle mesh for this shape.
Remarks
This method returns a mesh with a single degenerate triangle. The triangle represents a line with the length MeshSize. The triangle is centered on PointOnLine.
See Also