C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

Structure of data fields representing a geometric object. More...

#include <gcm_types.h>

+ Collaboration diagram for GCM_g_record:

Public Attributes

GCM_g_type type
 Type of geometric object.
 
GCM_point origin
 Location of a geometric object.
 
GCM_vec3d axisZ
 Direction of line, normal of plane, Z-axis of a local coordinate frame.
 
GCM_vec3d axisX
 X-axis of local coordinate frame .
 
GCM_vec3d axisY
 Y-axis of local coordinate frame.
 
double radiusA
 Radius of circle, sphere and cylinder or major radius of cone and torus.
 
double radiusB
 Minor radius of cone and torus.
 

Detailed Description

Structure of data fields representing a geometric object.

This plain data structure represents variants of geometric data types that the solver works with.

Corresponding tuples of geometric types:
{ GCM_POINT origin } - simple point;
{ GCM_SPHERE origin radiusA } - center and radius of a sphere;
{ GCM_LINE origin axisZ } - point and direction of a line;
{ GCM_PLANE origin axisZ } - point and normal of a plane;

{ GCM_CIRCLE origin axisZ radiusA } - center, rotation axis and radius;
{ GCM_CYLINDER origin axisZ radiusA } - center, rotation axis and radius;
{ GCM_CONE origin axisZ radiusA radiusB } - center, rotation axis and two radiuses;
{ GCM_TORUS origin axisZ radiusA radiusB };
{ GCM_LCS origin axisZ axisX axisY } - local coordinate system that specify a solid position.

The documentation for this struct was generated from the following file: