Description
When vectorType is "OpticalLink", the calling Vector will be initialized as the vector between the OpticalLink's Source and Target reference objects.
Timing Precision Mode
This page describes functionality in nanosecond timing precision mode.
Click here to see the documentation for this object in millisecond timing precision mode.
Method Signature
Arguments
vectorType
|
|
Description:
|
Type of vector to create.
|
Valid Values:
|
Value
|
Label
|
0
|
Cartesian
|
1
|
Spherical
|
2
|
Cross Product
|
3
|
Normalized Vector
|
4
|
Body Axis
|
5
|
Body Angular Momentum
|
6
|
Body Position
|
7
|
Body Velocity Vector
|
8
|
Existing X-axis
|
9
|
Object-to-Object
|
10
|
Anti-Vector
|
11
|
Star
|
12
|
Object-to-Star
|
13
|
RFLink
|
14
|
OpticalLink
|
|
link
|
|
Description:
|
A OpticalLink object to use for setting the ends of the calling Vector.
|
direction
|
|
Description:
|
Used to indicate the desired direction of the vector - setting direction to 0 goes from transmitter to receiver, while setting it to 1 goes from the receiver to the transmitter.
|
Valid Values:
|
Value
|
Label
|
0
|
Transmitter to Receiver
|
1
|
Receiver to Transmitter
|
|
Return Value
Informs the user whether the Vector was built successfully. (0 = Unsuccessful, 1 = Successful)
Syntax
myVariable1 = myVector1.BuildVector(myVariable2, myOpticalLink1, myVariable3);
|
See also
Vector Object
Vector.BuildVector
Coverage and Contact Analysis Guide
Vectors and Coordinate Systems Guide
Matrix, Array, and Variable Math Guide
|