vcVectorQuantity

vcVectorQuantity extends vcScalarQuantity to support vector quantities.

Inherits: vcScalarQuantity

Usage

A vector quantity can be one of two types: Cartesian and angular vector. Velocity and displacement are Cartesian vector quantities, whereas angular momentum and torque are angular vector quantities. Some Cartesian types can be paired with their corresponding angular equivalents, and then used in matrices. For example, distance and angle values can be formed into a position matrix in which distance units define position and angle units define orientation.

Properties

Name Type Access Description
IsAngular Boolean RW/R Defines if vector quantity is angular or Cartesian type.

If quantity is built-in, you can only get value.

Pair vcVectorQuantity RW/R Defines a vector quantity paired with the quantity in order to be used as matrix properties.

If IsAngular is set to True, pair must be a Cartesian vector quantity; otherwise the pair must be an angular vector quantity.

If quantity is built-in, you can only get value.

VectorName String RW Defines an alternative name for quantity instead of its inherited Name property.

If value is None or empty string, quantity uses its inherited Name property.