C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
gcm_routines.h File Reference

API of procedures and functions of 3D solver. More...

#include <math_define.h>
#include "gcm_constraint.h"
#include "gcm_manager.h"
#include "gcm_types.h"

Classes

struct  MtTransDof
 Record about the degree of freedom of movement. More...
 
struct  MtMateParameters
 Parameters of proximity to solution for geometric constraint. More...
 
struct  MtLDimensionTraits
 Characteristic data of linear dimension. More...
 
struct  MtADimensionTraits
 Characteristic data of angular dimension. More...
 

Functions

MtMateType GetAutoMateType (const ItConstraintItem &cItem, bool forMove)
 Automatically assign the mate type for its arguments. More...
 
bool GetClosestParameters (const ItConstraintItem &cItem, MtMateParameters &cPars)
 Measure parameters of proximity to solution for geometric constraint. More...
 
bool GetDimensionTraits (const ItConstraintItem &dCon, MtLDimensionTraits &dPars)
 Determine the characteristic data of dimension. More...
 
bool GetDimensionTraits (const ItConstraintItem &dCon, MtADimensionTraits &dPars)
 Determine the characteristic data of angular dimension. More...
 
bool EstimateTangencyChoice (const ItConstraintItem &cItem, GCM_tan_choice tChoice)
 Whether it is possible to apply the variant of tangency to this constraint.
More...
 
bool IsCompatibleMatingGeometry (const ItConstraintItem &cItem)
 Determine the compatibility of geometric objects to this constraint. More...
 
bool GCM_RelativePlacement (MbPlacement3D gPlaces[], size_t gPlacesSize, GCM_extra_param)
 Calculate "Relative placement". More...
 
bool GetMatingGeometry (const ItConstraintItem &cItem, int geomNb, bool inWCS, MtGeomType &gType, MbCartPoint3D &pc, MbVector3D &vec, double &r1, double &r2)
 Get the first or second geometric object of mate. More...
 
MtGeomVariant GCM_GeomArgument (const MbSpaceItem *, bool orient)
 Get a geometric object of type MtGeomVariant from geometry of type MbSpaceItem. More...
 
void GCM_GetProperties (GCM_system gSys, MbProperties &props)
 Get a list of editable and non-editable properties for the entire constraint system. More...
 
GCM_result GCM_DiagnoseHistoryDependent (GCM_system gSys, const ItGeom *gPtr)
 Specific diagnostics of a geometric object dependent on the construction history. More...
 
void GCM_ImportToC3D (GCM_system gSys, const TCHAR *c3dFile)
 Import the constraint system into C3D-model. More...
 
size_t VolumeOfAlignOption (const ItConstraintItem &)
 The number of alignment options (GCM_alignment) for a given mate.
 

Detailed Description

API of procedures and functions of 3D solver.