CFx SDK Documentation 2024 SP0
|
#include <AECGrConstraint.h>
Public Member Functions | |
virtual AECGr::Result | apply (const OdGeVector3d &vViewDir, const OdGePoint3d &ptGrip, OdGePoint3d &ptNew)=0 |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () const |
virtual void | addRef ()=0 |
virtual void | release ()=0 |
virtual long | numRefs () const |
bool | isKindOf (const OdRxClass *pClass) const |
virtual OdRxObjectPtr | clone () const |
virtual void | copyFrom (const OdRxObject *pSource) |
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
virtual bool | isEqualTo (const OdRxObject *pOther) const |
Static Public Member Functions | |
static AECGripConstraintPtr | toNone () |
static AECGripConstraintPtr | toPlane (const OdGePlane &cPlane) |
static AECGripConstraintPtr | toLine (const OdGePoint3d &ptOrigin, const OdGeVector3d &vDirection) |
static AECGripConstraintPtr | toRay (const OdGePoint3d &ptOrigin, const OdGeVector3d &vDirection) |
static AECGripConstraintPtr | toSegment (const OdGePoint3d &pt1, const OdGePoint3d &pt2) |
static AECGripConstraintPtr | toCircle (const OdGeCircArc3d &cCircle) |
static AECGripConstraintPtr | toRadialRay (const OdGePoint3d &ptOrigin, const OdGeVector3d &vDirection) |
static AECGripConstraintPtr | toAcDbCurve (const OdDbObjectId &idCurve) |
static AECGripConstraintPtr | toPolyline (const FacetModeler::Contour2D &cBase) |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Constraint for AEC Grip points. <group TA_API_Grips>
Definition at line 37 of file AECGrConstraint.h.
|
pure virtual |
Applies constraint to specified point.
Implemented in AECGripConstraintNone, AECGripConstraintToPlane, AECGripConstraintToLineRay, AECGripConstraintToLine, AECGripConstraintToLineSegment, AECGripConstraintToPlaneRayRay, AECGripConstraintToPolyline, AECGripConstraintToCircle, AECGripConstraintToRadialRay, and AECGripConstraintToAcDbCurve.
|
static |
Creates quarter plane constraint.
|
static |
Creates circle constraint.
|
static |
Creates ray constraint.
|
static |
Creates empty constraint that always succeeds and never modifies input.
|
static |
Creates planar constraint.
|
static |
Creates polyline constraint.
|
static |
Creates radial ray constraint.
|
static |
Creates ray constraint.
|
static |
Creates ray constraint.