| LineSegmentShapeOnGetMesh Method |
Called when a mesh should be generated for the shape.
Namespace: DigitalRune.Geometry.ShapesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax protected override TriangleMesh OnGetMesh(
float absoluteDistanceThreshold,
int iterationLimit
)
Protected Overrides Function OnGetMesh (
absoluteDistanceThreshold As Single,
iterationLimit As Integer
) As TriangleMesh
protected:
virtual TriangleMesh^ OnGetMesh(
float absoluteDistanceThreshold,
int iterationLimit
) override
abstract OnGetMesh :
absoluteDistanceThreshold : float32 *
iterationLimit : int -> TriangleMesh
override OnGetMesh :
absoluteDistanceThreshold : float32 *
iterationLimit : int -> TriangleMesh
Parameters
- absoluteDistanceThreshold
- Type: SystemSingle
The absolute distance threshold. - iterationLimit
- Type: SystemInt32
The iteration limit.
Return Value
Type:
TriangleMeshThe triangle mesh for this shape.
Remarks
This creates a mesh with a single degenerate triangle that represents the line segment.
See Also