Calculation Objects - Vector

Vector components are a subset of Calculation Object components.

Syntax

ComponentBrowser */ SetValue "Calculation Objects" {Component} {Attribute} <Value> [{Unit}]

ComponentBrowser */ Duplicate "Calculation Objects" {Component} <Duplicate Component Name>

Description

The Vector components are:

Component Description
Angle An angle from Vector Geometry Tool
Angle Between Vectors Angle between two specified vectors
Dot Product Dot Product of two specified vectors
Vector Dec Declination of specified vector
Vector Mag Magnitude of specified vector
Vector RA Right Ascension of specified vector
Vector X X component of specified vector
Vector Y Y component of specified vector
Vector Z Z component of specified vector

The attributes for each component have the same names and value selections that appear in the Astrogator graphical user interface.

Examples

Duplicating a Vector component

ComponentBrowser */ Duplicate "Calculation Objects" "Vector Mag" "My Vector Mag"

Changing an attribute of a custom Vector component

ComponentBrowser */ SetValue "Calculation Objects" "My Angle" Angle "CentralBody/Jupiter EarthRA"

STK Programming Interface 11.0.1