Description Data structure for a primitive operation performed on a FRED entity's location and/or orientation. This data structure is used in AddOperation, GetOperation and SetOperation.
Definition Type T_OPERATION val1 As Double val2 As Double val3 As Double val4 As Double val5 As Double val6 As Double val7 As Double val8 As Double val9 As Double val10 As Double val11 As Double val12 As Double val13 As Double parent As Long type As String End Type
Members val1 First operation value. See table below for context.
val2 Second operation value. See table below for context.
val3 Third operation value. See table below for context.
val4 Fourth operation value. See table below for context.
val5 Fifth operation value. See table below for context.
val6 Sixth operation value. See table below for context.
val7 Seventh operation value. See table below for context.
val8 Eighth operation value. See table below for context.
val9 Ninth operation value. See table below for context.
val10 Tenth operation value. See table below for context.
val11 Eleventh operation value. See table below for context.
val12 Twelfth operation value. See table below for context.
val13 Thirteenth operation value. See table below for context.
parent Identifier of the operation's parent entity. Use -1 for the Global Coordinate system. Use the entity's node number for operations performed in the "Self" coordinate system.
type The type of primitive operation.
Remarks The meanings of the members val1 through val13 depend on the value of the "type" T_OPERATION member. The meanings are the same as in the graphical user interface for the corresponding value.
Note that not all members are used for every operation type. In fact, only the "RotateToDirection" type uses all thirteen members. For example, if type is "Shift", then only the first three members are used as shown in the table below. The remaining members are ignored.
*indicates default value in GUI
See Also
Examples
|