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.EnginesAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.1.0 (10.16.1.0)
Syntax [EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public void GetTrackCoordinate(
SoCoordinate3 coords,
float width,
bool flat,
int precision
)
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Sub GetTrackCoordinate (
coords As SoCoordinate3,
width As Single,
flat As Boolean,
precision As Integer
)
public:
[EditorBrowsableAttribute(EditorBrowsableState::Advanced)]
void GetTrackCoordinate(
SoCoordinate3^ coords,
float width,
bool flat,
int precision
)
[<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>]
member GetTrackCoordinate :
coords : SoCoordinate3 *
width : float32 *
flat : bool *
precision : int -> unit
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