API Reference > OdDb Classes > OdDbGeometryOverrule Class > OdDbGeometryOverrule Methods > OdDbGeometryOverrule::getGeomExtents Method
OdDbGeometryOverrule::getGeomExtents Method
Syntax
C++
virtual OdResult getGeomExtents(const OdDbEntity* pSubject, OdGeExtents3d& extents);
Parameters 
Description 
const OdDbEntity* pSubject 
[in] A raw pointer to an entity.  
OdGeExtents3d& extents 
[out] An extents object in which entity extents should be saved. 

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

 

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