API Reference > Classes > Database Classes > OdBmElement Class > OdBmElement Methods > OdBmElement::getGeomExtents Method
OdBmElement::getGeomExtents Method
Syntax
C++
OdResult getGeomExtents(OdGeExtents3d& extents, const OdBmObjectId* viewportId = NULL) const;
Parameters 
Description 
OdGeExtents3d& extents 
[out] Output geometry extents.  
const OdBmObjectId* viewportId = NULL 
[in] Id of a viewport. Set to NULL by default.
 

eOk if the operation completed successfully, or an appropriate error code otherwise.

Returns geometry extents of this element as an object of OdGeExtents3d class. 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.