Click or drag to resize
SbLine Methods

The SbLine type exposes the following members.

Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetClosestPoint
Returns the closest point on the line to the given point.
Public methodGetClosestPoints
Finds the two closest points between this line and line2, and loads them into ptOnThis and ptOnLine2.
Public methodGetDirection Obsolete.
Use direction property instead.
Public methodGetDirection(SbVec3f)
Gets the direction of the line.
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetPosition Obsolete.
Use position property instead.
Public methodGetPosition(SbVec3f)
Gets the position of the line.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetPosDir(SbVec3f, SbVec3f)
Sets line using a position and a direction vector.
Public methodSetPosDir(SbVec3f, SbVec3f)
Sets line using a position and a direction vector.
Public methodSetValue(SbVec3f, SbVec3f)
Sets line to pass through points p0 and p1.
Public methodSetValue(SbVec3f, SbVec3f)
Sets line to pass through points p0 and p1.
Public methodToString
Converts this SbLine structure to a human readable string.
(Overrides ValueTypeToString.)
Top
See Also