CoordinateSystem.BuildCoordinateSystem(Vehicle, Vector) Method

Top 

Description

Uses the specified Vehicle's Body Coordinate System to define a custom Coordinate System, using vectorPosition to specify the offset of the origin of the Coordinate System.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

CoordinateSystem.BuildCoordinateSystem(

Vehicle vehicle,


Vector vectorPosition)

 

 

Arguments

vehicle


Description:

Vehicle whose Body Coordinate System defines the Coordinate System.

Allowed Types:

Vehicle, GroundVehicle, Spacecraft

 

 

vectorPosition


Description:

Origin offset vector for the coordinate system.

 

 

 

Return Value

Type:

boolean

 

 

Returns a 1 if the Coordinate System was built successfully. Returns a 0 if there was an error with the build.

 

Syntax

myVariable1 = myCoordinateSystem1.BuildCoordinateSystem(myVehicle1, myVector1);

 

 

See also

CoordinateSystem Object

CoordinateSystem.BuildCoordinateSystem

Vectors and Coordinate Systems Guide

Orbit Reference Frames Guide

Attitude Reference Frames Guide

Matrix, Array, and Variable Math Guide