C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
+ Collaboration diagram for Object-oriented interface:

Classes

struct  ItGCBlackbox
 Blackbox. More...
 
struct  GCM_geom_axis
 Axis of a planar angle. More...
 
struct  GCM_c_params
 Structure of constraint parameters. More...
 
struct  ItConstraintItem
 Geometric constraint. More...
 
struct  ItMateTransmission
 Interface "Mechanical transmission for two solids". More...
 
struct  ItCamMechanism
 Interface "Cam mechanism". More...
 
struct  ItGeom
 Geometrical object. More...
 
class  MtGeomVariant
 Geometric object, argument of geometric constraint. More...
 
class  MtMatingGeometry
 Data structure for matched geometry. More...
 
struct  GCM_undefined< T >
 Undefined value of some datatype. More...
 
class  MtParVariant
 Numeric or enumerated parameter of constraint. More...
 
class  MtArgument
 Geometric argument of constraint. More...
 
struct  ItConstraintsEnum
 Iterator traversing the constraint system. More...
 
class  MtGeomSolver
 Geometric constraint solver. More...
 
struct  ItPositionManager
 Abstract for control of geom position in the assembly. More...
 

Typedefs

typedef GCM_dof_result MtStateOfFreedom
 State of the solid freedom.
 

Functions

int AlignmentSign (GCM_alignment aVal)
 Get three-valued orientation {-1,0,+1}.
 
bool Orient (GCM_alignment aVal)
 Get two-valued orientation.
 
bool TangVariant (GCM_alignment aVal)
 Get two-valued variant of tangency.
 
bool TangSubVariant (GCM_alignment aVal)
 Get two-valued subvariant of tangency.
 
GCM_alignment AlignOption (bool axisOrient, bool tangOrient, bool tangSubvariant=false)
 Get code of alignment condition by three two-valued flags of orientation, variant and subvariant of tangency.
 
void NextSolution (GCM_alignment &)
 Get the next variant of alignment.
 
void PrevSolution (GCM_alignment &)
 Get the previous variant of alignment.
 
GCM_geom GCM_GeomId (GCM_system gSys, const ItGeom *gPtr)
 Get a geometric object of type GCM_geom from type of ItGeom *.
 
GCM_g_record GCM_GeomRecord (const MtGeomVariant &)
 Get the geometric record of the variant data type.
 
MtGeomVariant GeomArgument (const MtMatingGeometry &, VERSION cVer)
 Convert the structure MtMatingGeometry to the argument of constraint. More...
 
SPtr< MtGeomSolverGCM_CreateSolver (SPtr< ItPositionManager > pMan)
 Create an object-oriented interface of 3D solver. More...
 
virtual int ItConstraintItem::Arity () const
 Number of geoms involved in the constraint.
 
ItGeomPtr ItConstraintItem::DependentGeom () const
 Dependent geom of type GCM_DEPENDENT, it is always first geom item.
 
virtual Motion ItMateTransmission::GetAxis (short nb, MbAxis3D &axis) const =0
 Get direction and type of motion for the first or the second solid, axis is specified in LCS of solid GetDirectionGeom(). More...
 
MbMatrix3D ItGeom::TransMatrix () const
 Transformation from the standard position.
 
void ItGeom::GetTransMatrix (MbMatrix3D &) const
 Get transformation from standard position.
 
const MbMatrix3DMtMatingGeometry::LCSMatrix () const
 Get matrix of LCS in which the geometric object of the mating is specified.
 
void MtMatingGeometry::SetAsLine (const MbCartPoint3D &, const MbVector3D &)
 Set the data structure to line representation.
 
void MtMatingGeometry::SetAsMarker (const MbMarker &)
 Initialize the data structure with a marker. More...
 
void MtMatingGeometry::SetAsMarker (const MbCartPoint3D &, const MbVector3D &z, const MbVector3D &x)
 Initialize the data structure with a marker.

 
void MtMatingGeometry::SetAsLCS (const MbPlacement3D &lcs)
 Assign this data structure with a value of LCS.
 
void MtMatingGeometry::SetAsMatingGeomItem (SPtr< const MbSpaceItem > gItem, Orient gDir, const MbMatrix3D &gSpan)
 Initialize data structure with a curve or a surface;. More...
 
void MtMatingGeometry::SetNull ()
 Specify an empty object.
 
GCM_c_arg MtParVariant::CArg () const
 Give as an argument of constraint.
 
bool MtArgument::operator== (const ItGeom *) const
 Equality operator.
 

Detailed Description

Function Documentation

◆ GeomArgument()

MtGeomVariant GeomArgument ( const MtMatingGeometry ,
VERSION  cVer 
)

Convert the structure MtMatingGeometry to the argument of constraint.

Parameters
[in]cVer- The version of constraint using the resulting argument.

◆ GCM_CreateSolver()

SPtr<MtGeomSolver> GCM_CreateSolver ( SPtr< ItPositionManager pMan)

Create an object-oriented interface of 3D solver.

Parameters
[in]pMan- Interface that provides functions of reposition of geometric objects on the application side.

The call creates an empty constraint system. Besides, there are created internal data structures of geometric solver maintaining the constraint system. The function returns an instance of class representing an object-oriented interface of the 3D solver.

Returns
Smart-pointer to a new instance of geometric constraint solver.

◆ GetAxis()

ItMateTransmission::GetAxis ( short  nb,
MbAxis3D axis 
) const
pure virtual

Get direction and type of motion for the first or the second solid, axis is specified in LCS of solid GetDirectionGeom().

The axis is specified in LCS of the solid returned in function ItGeom * ItMateTransmission::GetDirectionGeom( short nb ) const

◆ SetAsMarker()

void MtMatingGeometry::SetAsMarker ( const MbMarker gArg)
inline

Initialize the data structure with a marker.

Parameters
gArgis marker (! the argument is not transferred to the structure ownership)

◆ SetAsMatingGeomItem()

void MtMatingGeometry::SetAsMatingGeomItem ( SPtr< const MbSpaceItem gItem,
Orient  gDir,
const MbMatrix3D gSpan 
)
inline

Initialize data structure with a curve or a surface;.

Parameters
gItemis geometric object, subclass of MbSpaceItem (! transferred to the structure ownership)
gDiris flag of geometric object orientation
gSpanis matrix specifying subspace of the object