![public property public property](./images/pubproperty.gif)
|
AngleInRad[T2DAxis]
|
The AngleInRad property allows the vector interface to be used as a 2D angle (in radians). The Axis Index controls which 2 axis of the vector are used. Use the AngleInRad property to get the angle represented by the Axis pair values in the RSVector.TRSVector.X, RSVector.TRSVector.Y , and/or RSVector.TRSVector.Z properties. When the AngleInRad property is set, it modifies the axis pair so that it equals the angle given. However, it should attempt to preserve the RSVector.TRSVector.Magnitude of the vector.
The AngleInRad property gets and sets the angle of the vector in radians. Use the Angle property to get and set the angle of the vector in degrees.
|
![public property public property](./images/pubproperty.gif)
|
Angle[T2DAxis]
|
The Angle property allows the vector to be used as a 2D angle. The Axis Index controls which 2 axis of the vector are used. Use the Angle property to get the angle represented by the Axis pair values in the RSVector.TRSVector.X, RSVector.TRSVector.Y, and/or RSVector.TRSVector.Z properties. When the Angle property is set, it modifies the axis pair so that it equals the angle given. However, it should attempt to preserve the RSVector.TRSVector.Magnitude of the vector.
The Angle property gets and sets the angle of the vector in degrees. Use the AngleInRad property to get and set the angle of the vector in radians.
|
![published property published property](./images/pubproperty.gif)
|
Magnitude
|
Distance between origin and XYZ, i.e., RSVector.TRSVector.Length . If you set the Magnitude, the XYZ point will change in the direction of the vector so that the length will equal the value.
|
![public property public property](./images/pubproperty.gif)
|
OnChange
|
OnChange event occurs when the vector is changed.
Write an OnChange event handler to respond to changes in the vector.
|
![published property published property](./images/pubproperty.gif)
|
Tag
|
Provides a property to store information associated with the vector.
|
![published property published property](./images/pubproperty.gif)
|
X
|
Specifies the RSVector.TRSVector.X, or horizontal, component of the vector
|
![published property published property](./images/pubproperty.gif)
|
Y
|
Specifies the RSVector.TRSVector.Y, or vertical, component of the vector
|
![published property published property](./images/pubproperty.gif)
|
Z
|
Specifies the RSVector.TRSVector.Z, or depth, component of the vector
|