Click or drag to resize
SoTrackFollowerGetTrackCoordinate Method (SoCoordinate3, Single, Boolean, Int32)

Returns a set of coordinates that can be used to build a TriangleStripSet or a LineSet that materialized the track.

Namespace: OIV.Inventor.Engines
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public void GetTrackCoordinate(
	SoCoordinate3 coords,
	float width,
	bool flat,
	int precision
)

Parameters

coords
Type: OIV.Inventor.NodesSoCoordinate3
width
Type: SystemSingle
flat
Type: SystemBoolean
precision
Type: SystemInt32
Remarks

The width value tune the width of the TriangleStripSet set; if it's set to 0, then the coordinates can be used to build a LineSet . If the flat flag is set, the roll angle is not used for this computation. Precision tune the number of triangles that must be used in a turn.

See Also