23#ifndef __AECGR_CONSTRAINT_H__
24#define __AECGR_CONSTRAINT_H__
OdSmartPtr< class AECGripConstraint > AECGripConstraintPtr
#define ODRX_DECLARE_MEMBERS(ClassName)
static AECGripConstraintPtr toSegment(const OdGePoint3d &pt1, const OdGePoint3d &pt2)
static AECGripConstraintPtr toLine(const OdGePoint3d &ptOrigin, const OdGeVector3d &vDirection)
virtual AECGr::Result apply(const OdGeVector3d &vViewDir, const OdGePoint3d &ptGrip, OdGePoint3d &ptNew)=0
static AECGripConstraintPtr toPolyline(const FacetModeler::Contour2D &cBase)
static AECGripConstraintPtr toCircle(const OdGeCircArc3d &cCircle)
static AECGripConstraintPtr toPlane(const OdGePlane &cPlane)
static AECGripConstraintPtr toRadialRay(const OdGePoint3d &ptOrigin, const OdGeVector3d &vDirection)
static AECGripConstraintPtr toNone()
static AECGripConstraintPtr toRay(const OdGePoint3d &ptOrigin, const OdGeVector3d &vDirection)
static AECGripConstraintPtr toAcDbCurve(const OdDbObjectId &idCurve)