CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
AECGripConstraintToLineSegment Class Reference

#include <AECGrConstraintImpl.h>

Inheritance diagram for AECGripConstraintToLineSegment:
AECGripConstraintCursorBased AECGripConstraint OdRxObject

Public Member Functions

void setSegment (const OdGePoint3d &p1, const OdGePoint3d &p2)
 
virtual AECGr::Result apply (const OdGeVector3d &vViewDir, const OdGePoint3d &ptGrip, OdGePoint3d &ptNew)
 
virtual void transformBy (const OdGeMatrix3d &mTr)
 
virtual void transformBy (const OdGeMatrix3d &mTr)=0
 
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
 

Additional Inherited Members

- Static Public Member Functions inherited from AECGripConstraint
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

<group TA_API_Grips>

Definition at line 157 of file AECGrConstraintImpl.h.

Member Function Documentation

◆ apply()

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

Applies constraint to specified point.

Implements AECGripConstraint.

◆ setSegment()

void AECGripConstraintToLineSegment::setSegment ( const OdGePoint3d p1,
const OdGePoint3d p2 
)
inline

Definition at line 162 of file AECGrConstraintImpl.h.

◆ transformBy()

virtual void AECGripConstraintToLineSegment::transformBy ( const OdGeMatrix3d mTr)
inlinevirtual

Implements AECGripConstraintCursorBased.

Definition at line 168 of file AECGrConstraintImpl.h.


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