CFx SDK Documentation  2023 SP0
Public Member Functions | Static Public Member Functions | List of all members
AECGripConstraint Class Referenceabstract

#include <AECGrConstraint.h>

Inheritance diagram for AECGripConstraint:
OdRxObject AECGripConstraintCursorBased AECGripConstraintNone AECGripConstraintToAcDbCurve AECGripConstraintToCircle AECGripConstraintToLine AECGripConstraintToLineRay AECGripConstraintToLineSegment AECGripConstraintToPlane AECGripConstraintToPlaneRayRay AECGripConstraintToPolyline AECGripConstraintToRadialRay

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 OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () 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 OdRxClassdesc ()
 

Detailed Description

Constraint for AEC Grip points. <group TA_API_Grips>

Definition at line 37 of file AECGrConstraint.h.

Member Function Documentation

◆ apply()

virtual AECGr::Result AECGripConstraint::apply ( const OdGeVector3d vViewDir,
const OdGePoint3d ptGrip,
OdGePoint3d ptNew 
)
pure virtual

◆ toAcDbCurve()

static AECGripConstraintPtr AECGripConstraint::toAcDbCurve ( const OdDbObjectId idCurve)
static

Creates quarter plane constraint.

◆ toCircle()

static AECGripConstraintPtr AECGripConstraint::toCircle ( const OdGeCircArc3d cCircle)
static

Creates circle constraint.

◆ toLine()

static AECGripConstraintPtr AECGripConstraint::toLine ( const OdGePoint3d ptOrigin,
const OdGeVector3d vDirection 
)
static

Creates ray constraint.

◆ toNone()

static AECGripConstraintPtr AECGripConstraint::toNone ( )
static

Creates empty constraint that always succeeds and never modifies input.

◆ toPlane()

static AECGripConstraintPtr AECGripConstraint::toPlane ( const OdGePlane cPlane)
static

Creates planar constraint.

◆ toPolyline()

static AECGripConstraintPtr AECGripConstraint::toPolyline ( const FacetModeler::Contour2D cBase)
static

Creates polyline constraint.

◆ toRadialRay()

static AECGripConstraintPtr AECGripConstraint::toRadialRay ( const OdGePoint3d ptOrigin,
const OdGeVector3d vDirection 
)
static

Creates radial ray constraint.

◆ toRay()

static AECGripConstraintPtr AECGripConstraint::toRay ( const OdGePoint3d ptOrigin,
const OdGeVector3d vDirection 
)
static

Creates ray constraint.

◆ toSegment()

static AECGripConstraintPtr AECGripConstraint::toSegment ( const OdGePoint3d pt1,
const OdGePoint3d pt2 
)
static

Creates ray constraint.


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