*GraphicPair() - ellipsoid pair

Creates a pair of ellipsoid graphics.

Syntax

*GraphicPair(varname,label,ELLIPSOID, body, origin, orient_plane, align_type, align_axis, align_type, align_plane, radius_x, radius_y, radius_z, refinement_level)

Arguments

varname
The variable name of the graphic pair.
Data type: varname
label
The descriptive label of the graphic pair.
Data type: label
ELLIPSOID
This argument indicates the graphic pair is an ellipsoid.
body
The body or body pair associated with the graphic pair.
Data type: Body|BodyPair
origin
The point or point pair that specifies the center of an ellipsoid.
Data type: Point|PointPair
orient_plane
A keyword used to orient one plane of the axes of the ellipsoid pair. Valid values are: ZX|ZY|XY|XZ|YX|YZ
Data type: keyword
align_type
A keyword which specifies the type of entity used for orientation. Valid values are: POINT or VECTOR
Data type: keyword
align_axis
An entity variable referring to a Point or Vector (or their pair) used to orient one axis of a plane as specified by orient_plane.
Data type: Point|PointPair or Vector|VectorPair
align_plane
An entity variable referring to a Point or Vector (or their pair) used to orient the other axis of the plane as specified by a orient_plane.
Data type: Point|PointPair or Vector|VectorPair
radius_x
Radius of the ellipsoid graphic in the X direction of its orientation.
Data type: real
radius_y
Radius of the ellipsoid graphic in the Y direction of its orientation.
Data type: real
radius_z
Radius of the ellipsoid graphic in the Z direction of its orientation.
Data type: real
refinement_level
Specifies the refinement for tessalation of the graphics for MotionSolve. Refer to the <Post_Graphic MotionSolve XML statement for additional information.
Data type: real

Example

*BeginMDL( the_model, "Model", "14.0.120.5" )
 
 *Body( b_body_ellipse, "Ellipsoid Body", p_ellipsoid, , , , )
 *Point( p_ellipsoid, "Ellispsoid Center" )
 *SetPoint( p_ellipsoid, 10, 100 )
 *Point( p_0, "Point 0" )
*GraphicPair( gelp_0, "Ellipsoid 0", ELLIPSOID, b_body_ellipse, p_ellipsoid, ZX, POINT, p_ellipsoid, VECTOR, V_Global_X, 10, 5, 2.5, 3 )

*EndMDL() 

Context

*BeginMdl()

*DefineAnalysis()

*DefineGraphic()

*DefineSystem()

Comments

Based on the value of orient_plane, the first axis of the plane is aligned along the direction of align_axis. The second axis is orthogonal to the first axis, such that the entity align_plane is in the orient_plane. For example, in the graphic definition with varname gelp_0 shown in the example above, p_ellipsoid is at the center, the Z axis of the ellipsoid graphic is along the point p_0, and global vector X lies in the ZX plane of the ellipsoid graphic.