API Reference > OdDb Classes > OdDbGripOverrule Class > OdDbGripOverrule Methods > getGripPoints Method > OdDbGripOverrule::getGripPoints Method (OdDbEntity*, OdDbGripDataPtrArray&, double, int, OdGeVector3d&, int)
OdDbGripOverrule::getGripPoints Method (OdDbEntity*, OdDbGripDataPtrArray&, double, int, OdGeVector3d&, int)
Syntax
C++
virtual OdResult getGripPoints(const OdDbEntity* pSubject, OdDbGripDataPtrArray& gripsData, const double curViewUnitSize, const int gripSize, const OdGeVector3d& curViewDir, const int bitFlags);
Parameters 
Description 
const OdDbEntity* pSubject 
[in] A raw pointer to an entity.  
OdDbGripDataPtrArray& gripsData 
[in] An array of pointers to dynamically allocated grip data objects.  
const double curViewUnitSize 
[in] A size of one drawing unit in the current viewport (in pixels).  
const int gripSize 
[in] A size of current grip point (in pixels).  
const OdGeVector3d& curViewDir 
[in] A vector that specifies the view direction in the current viewport.  
const int bitFlags 
[in] Mask of one or more flags specified by the OdDbGripOperations::GetGripPointsFlags enumeration. 

Overrules OdDbEntity::subGetGripPoints() method and calls it in the default implementation. This method returns eOk if successful. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.