C3D Toolkit  Kernel - 118069, Vision - 2.16.7.1844

Data structure for matched geometry. More...

#include <gcm_geom.h>

Public Types

using Orient = GCM_alignment
 Three-valued property of orientation.

 

Public Member Functions

Orient GetOrientation () const
 Get orientation;.
 
const MbSpaceItem * GetMatingGeom () const
 Get geometric object of the mating. If =nullptr, then this is a point specified by MtMatingGeometry::myMatingPoint;.
 
const MbMatrix3D & LCSMatrix () const
 Get matrix of LCS in which the geometric object of the mating is specified.
 
void SetAsLine (const MbCartPoint3D &, const MbVector3D &)
 Set the data structure to line representation.
 
void SetAsMarker (const MbCartPoint3D &, const MbVector3D &z, const MbVector3D &x)
 Initialize the data structure with a marker.

 
void SetAsMarker (const MbMarker &)
 Initialize the data structure with a marker. More...
 
void Set (const MbAxis3D &)
 Initialize the data structure with an axis.
 
void SetAsLCS (const MbPlacement3D &lcs)
 Assign this data structure with a value of LCS.
 
void SetAsMatingGeomItem (SPtr< const MbSpaceItem > gItem, Orient gDir, const MbMatrix3D &gSpan)
 Initialize data structure with a curve or a surface;. More...
 
void SetNull ()
 Specify an empty object.
 

Static Public Attributes

static const Orient Opposite = GCM_OPPOSITE
 "Reverse direction"
 
static const Orient Cooriented = GCM_COORIENTED
 "Forward direction"
 
static const Orient Unoriented = GCM_NO_ALIGNMENT
 Orientation is nonrelevant or "Forward direction".
 

Detailed Description

Data structure for matched geometry.

This structure is used for passing information about geometric object involved in constraints. Geometric object passed via this data structure can be specified in LCS of a rigid solid or in the world coordinate system.
It should be taken into account that the geometric object returned from the function MtMatingGeometry::GetMatingGeom(), is given in LCS with matrix MtMatingGeometry::LCSMatrix(), i.e. the solver interprets MtMatingGeometry as object MtMatingGeometry::GetMatingGeom() specified in MtMatingGeometry::LCSMatrix().


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