C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Constraint for primitive fitting. More...
#include <op_mesh_parameter.h>
Public Member Functions | |
MbSurfaceFitConstraint () | |
Default constructor. | |
MbResultType | InitializeXYW (MbeSpaceType typeSurface, MbeDimensionalConstraintType typeDim, const MbConstraintFixedValues &fixedValues, const MbPlacement3D &place) |
Initialize the XYW-constraint (in case of validity). More... | |
MbResultType | InitializeZ (MbeSpaceType typeSurface, MbeDimensionalConstraintType typeDim, const MbConstraintFixedValues &fixedValues, const MbPlacement3D &place) |
Initialize the Z-constraint (in case of validity). More... | |
MbResultType | InitializeXYZ (MbeSpaceType typeSurface, MbeDimensionalConstraintType typeDim, const MbConstraintFixedValues &fixedValues, const MbPlacement3D &place) |
Initialize the XYZ-constraint (in case of validity). More... | |
MbResultType | InitializeZW (MbeSpaceType typeSurface, MbeDimensionalConstraintType typeDim, const MbConstraintFixedValues &fixedValues, const MbPlacement3D &place) |
Initialize the ZW-constraint (in case of validity). More... | |
MbePositionConstraintType | GetPosType () const |
Get the position constraint type. | |
MbeDimensionalConstraintType | GetDimType () const |
Get the dimensional constraint type. | |
const MbConstraintFixedValues & | GetFixedValues () const |
Get the structure with fixed values of surface parameters. | |
const MbPlacement3D & | GetPlacement () const |
Get the local coordinate system. | |
bool | IsEmpty () const |
Check whether the constraint is empty. | |
void | SetEmpty () |
Set empty constraint. | |
Position constraints. | |
bool | AddAxisConstraint (const MbVector3D &direction, double angle=0.) |
Add an axis constraint. More... | |
void | AddCoaxialConstraint (const MbAxis3D &axis) |
Add a coaxial constraint. More... | |
Dimensional constraints. | |
bool | AddCylinderRadiusConstraint (double radius) |
Fix cylinder radius. More... | |
bool | AddSphereRadiusConstraint (double radius) |
Fix sphere radius. More... | |
bool | AddConeAngleConstraint (double angle) |
Fix cone angle. More... | |
bool | AddTorusRadiiConstraint (double majorRadius, double minorRadius) |
Fix torus radii. More... | |
Constraint for primitive fitting.
Constraint for primitive fitting. Position constraint operates in a given local coordinate system. Fixed values for position and dimensional parameters are given by a structure.