CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdDbGeoMapGripPointsPE Class Reference

#include <DbGeoMapFieldsPE.h>

Inheritance diagram for OdDbGeoMapGripPointsPE:
OdDbGripPointsPE OdRxObject

Public Member Functions

virtual OdResult getGripPoints (const OdDbEntity *pEntity, OdGePoint3dArray &gripPoints) const
 
virtual OdResult moveGripPointsAt (OdDbEntity *pEntity, const OdIntArray &indices, const OdGeVector3d &offset)
 
virtual OdResult getStretchPoints (const OdDbEntity *pEntity, OdGePoint3dArray &stretchPoints) const
 
virtual OdResult moveStretchPointsAt (OdDbEntity *pEntity, const OdIntArray &indices, const OdGeVector3d &offset)
 
virtual OdResult getOsnapPoints (const OdDbEntity *ent, OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &viewXform, OdGePoint3dArray &snapPoints) const
 
- Public Member Functions inherited from OdDbGripPointsPE
 ODRX_DECLARE_MEMBERS (OdDbGripPointsPE)
 
virtual OdResult getGripPoints (const OdDbEntity *pEntity, OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const int bitFlags) const
 
virtual OdResult moveGripPointsAt (OdDbEntity *pEntity, const OdDbVoidPtrArray &grips, const OdGeVector3d &offset, int bitFlags)
 
virtual OdResult getOsnapPoints (const OdDbEntity *pEntity, OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints, const OdGeMatrix3d &insert) const
 
virtual OdResult getGripPointsAtSubentPath (const OdDbEntity *pEntity, const OdDbFullSubentPath &path, OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const OdUInt32 bitflags) const
 
virtual OdResult moveGripPointsAtSubentPaths (OdDbEntity *pEntity, const OdDbFullSubentPathArray &paths, const OdDbVoidPtrArray &gripAppData, const OdGeVector3d &offset, const OdUInt32 bitflags)
 
- 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 OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
static void rxInit ()
 
static void rxUninit ()
 

Detailed Description

This class is the grip points protocol extension class for the OdDbGeoMap class.

<group OdDb_Classes>

Definition at line 327 of file DbGeoMapFieldsPE.h.

Member Function Documentation

◆ getGripPoints()

virtual OdResult OdDbGeoMapGripPointsPE::getGripPoints ( const OdDbEntity * pEntity,
OdGePoint3dArray & gripPoints ) const
virtual

Returns all grip points of the specified entity.

Parameters
pEntity[in] Pointer to the entity.
gripPoints[in/out] Receives an array of WCS grip points.
Remarks
Grip points are appended to the specified array.
Returns
Returns eOk if successful, or an appropriate error code if not. The default implementation of this function returns eNotImplemented.

Reimplemented from OdDbGripPointsPE.

◆ getOsnapPoints()

virtual OdResult OdDbGeoMapGripPointsPE::getOsnapPoints ( const OdDbEntity * pEntity,
OdDb::OsnapMode osnapMode,
OdGsMarker gsSelectionMark,
const OdGePoint3d & pickPoint,
const OdGePoint3d & lastPoint,
const OdGeMatrix3d & xWorldToEye,
OdGePoint3dArray & snapPoints ) const
virtual

Returns all appropriate object snap points of the specified entity.

Parameters
pEntity[in] Pointer to the entity.
osnapMode[in] The object snap mode being queried.
gsSelectionMark[in] The GS marker of the subentity being queried.
pickPoint[in] The WCS point being queried.
lastPoint[in] The WCS point picked before pickPoint.
viewXform[in] The WCS->DCS transformation matrix.
ucs[in] The WCS->UCS transformation matrix.
snapPoints[in/out] Receives an array of UCS object snap points.
Remarks
Object snap points are appended to the specified array.

osnapMode must be one of the following:

Value Description OdDb::kOsModeEnd 1 Endpoint OdDb::kOsModeMid 2 Midpoint OdDb::kOsModeCen 3 Center OdDb::kOsModeNode 4 Node OdDb::kOsModeQuad 5 Quadrant OdDb::kOsModeIntersec 6 Intersection OdDb::kOsModeIns 7 Insertion point OdDb::kOsModePerp 8 Perpendicular OdDb::kOsModeTan 9 Tangent OdDb::kOsModeNear 10 Nearest OdDb::kOsModeApint 11 Apparent intersection OdDb::kOsModePar 12 Parallel OdDb::kOsModeStart 13 Unknown

The default implementation of this function returns eNotImplemented.

Reimplemented from OdDbGripPointsPE.

◆ getStretchPoints()

virtual OdResult OdDbGeoMapGripPointsPE::getStretchPoints ( const OdDbEntity * pEntity,
OdGePoint3dArray & stretchPoints ) const
virtual

Returns all stretch points of the specified entity.

Parameters
pEntity[in] Pointer to the entity.
stretchPoints[in/out] Receives an array of WCS stretch points.
Remarks
Stretch points are appended to the specified array.

Returns eOk if successful, or an appropriate error code if not. The default implementation of this function returns eNotImplemented.

Reimplemented from OdDbGripPointsPE.

◆ moveGripPointsAt()

virtual OdResult OdDbGeoMapGripPointsPE::moveGripPointsAt ( OdDbEntity * pEntity,
const OdIntArray & indices,
const OdGeVector3d & offset )
virtual

Moves the specified grip points of the specified entity.

Parameters
pEntity[in] Pointer to the entity.
indices[in] Array of indicies.
offset[in] The direction and magnitude of the grip points offset (WCS).
Remarks
Each element in gripPoints has a corresponding entry in indices, which specifies the index of the grip point as returned by getGripPoints.
Returns
Returns eOk if successful, or an appropriate error code if not. The default implementation of this function returns eNotImplemented.

Reimplemented from OdDbGripPointsPE.

◆ moveStretchPointsAt()

virtual OdResult OdDbGeoMapGripPointsPE::moveStretchPointsAt ( OdDbEntity * pEntity,
const OdIntArray & indices,
const OdGeVector3d & offset )
virtual

Moves the specified stretch points of this entity.

Parameters
pEntity[in] Pointer to the entity.
indices[in] Array of indicies.
offset[in] The direction and magnitude of the stretch points offset (WCS).
Remarks
Each element in stretchPoints has a corresponding entry in indices, which specifies the index of the stretch point as returned by getStretchPoints.

Returns eOk if successful, or an appropriate error code if not. The default implementation of this function returns eNotImplemented.

Reimplemented from OdDbGripPointsPE.


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