C3D Toolkit  Kernel - 118069, Vision - 2.16.7.1844

Geometric argument of constraint. More...

#include <gcm_manager.h>

Public Member Functions

 MtArgument ()
 Constructor of argument as geometric object.
 
 MtArgument (ItGeom *)
 Constructor of argument as geometric object.
 
 MtArgument (ItGeomPtr cluster, MtGeomVariant refGeom)
 Constructor of argument as "geometric object in the cluster". More...
 
ItGeomPtr Geom () const
 Geometric object calculated in the constraint system.
 
MtGeomVariant SubGeom () const
 Geometric value of the argument specified in the LCS of the object ItGeom * Geom().
 
MtGeomType GeomType () const
 Geometry type.
 
bool Simple () const
 A simple argument, i.e. is not given as part of a cluster.
 
void GetPlacement (MbPlacement3D &) const
 Get a position of geometric object as its LSC.
 
MtArgument & operator= (const MtArgument &)
 Assignment operator.
 
bool operator== (const ItGeom *) const
 Equality operator.
 
bool operator!= (const ItGeom *gPtr) const
 Inquality operator.
 

Detailed Description

Geometric argument of constraint.

Constructor & Destructor Documentation

◆ MtArgument()

MtArgument::MtArgument ( ItGeomPtr  cluster,
MtGeomVariant  refGeom 
)

Constructor of argument as "geometric object in the cluster".

Parameters
[in]cluster- Cluster as geometrically rigid union.
[in]refGeom- Geometric object given in the cluster LCS.
Returns
Argument of geometric constraint.

Argument given by this method assumes that the geometric object refGeom is given in the cluster LCS. In this case in system of constraints the solution is sought for the cluster and refGeom is considered fixed
in the cluster LCS.

Argument as transformation matrix.
Argument created by this method can be interpreted as a matrix of transformation given as multiplication: G*T, where T is cluster matrix, variable of constraints, G - matrix of object refGeom, constant. Note that if G = I - the identity matrix, then a geometric object has "standard position".

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