Programming Reference for VirtualLab Fusion
2025.1
|
This class is subject to change. Programs using this class may require changes with a new version of VirtualLab.
Class for objects that describe positioned lines in space
More...
Public Member Functions | |
PositionedLine (Position position, Vector3D direction) | |
Constructor that defines the line by parameters. | |
PositionedLine (PositionedLine line) | |
Copy constructor. | |
void | SetPositioningReference (IProvidesPositioningReferences referenceProvider, string key) |
Method to set the PositioningReferenceProvider and the key for the coordinate system that serves as positioning reference. | |
Properties | |
Vector3D | Direction [get, set] |
Direction vector of the line. | |
CartesianCoordinateSystem | GetPositioningReference [get] |
Property to get the coordinate system that serves as reference for this object. | |
bool | IsDefinedAbsolutely [get] |
Are the line position and direction defined in absolute coordinates? | |
Position | Position [get, set] |
One point that lies on the line. | |
string | PositioningReferenceKey [get] |
Get the key of the reference coordinate system for this object. | |
IProvidesPositioningReferences | PositioningReferenceProvider [get] |
Get the object that provides the reference coordinate system for this object. | |
This class is subject to change. Programs using this class may require changes with a new version of VirtualLab.
Class for objects that describe positioned lines in space
PositionedLine | ( | Position | position, |
Vector3D | direction | ||
) |
Constructor that defines the line by parameters.
position | One point that lies on the line. |
direction | Direction vector of the line. |
PositionedLine | ( | PositionedLine | line | ) |
Copy constructor.
line | Line to be copied. |
void SetPositioningReference | ( | IProvidesPositioningReferences | referenceProvider, |
string | key | ||
) |
Method to set the PositioningReferenceProvider and the key for the coordinate system that serves as positioning reference.
referenceProvider | Object which provides the coordinate system that serves as reference for this position. |
key | Key for the coordinate system (contained by PositioningReferenceProvider) which shall serve as reference for this position. |