C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

Data structure for matched geometry. More...

#include <gcm_geom.h>

Public Types

enum  Orient { Opposite = 0 , Cooriented = 1 , Unoriented = 2 }
 < Three-valued property of orientation More...
 

Public Member Functions

MtGeomType GetGeomType () const
 Get type of mating geometry.
 
Orient GetOrientation () const
 Get orientation;.
 
const MbSpaceItemGetMatingGeom () const
 Get geometric object of the mating. If =nullptr, then this is a point specified by MtMatingGeometry::myMatingPoint;.
 
const MbMatrix3DLCSMatrix () 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 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.
 

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().

Member Enumeration Documentation

◆ Orient

< Three-valued property of orientation

Enumerator
Opposite 

"Reverse direction"

Cooriented 

"Forward direction"

Unoriented 

Orientation is nonrelevant or "Forward direction".


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