API Reference > OdIfc Namespace > Classes > OdIfcShapeRepresentation Class > OdIfcShapeRepresentation Methods > OdIfcShapeRepresentation::getGeomExtents Method
OdIfcShapeRepresentation::getGeomExtents Method
Syntax
C++
OdResult getGeomExtents(OdGeExtents3d& ext) const;
Parameters 
Description 
OdGeExtents3d& ext 
[out] A placeholder for the current geometry extents object to be returned to a calling subroutine.  

eOk if the current extents were successfully returned; otherwise, the method returns an appropriate error code.

details Retrieves the current geometrical extents of the production object.

The method accepts an instance of the OdGeExtents3d class, fills it with the data about the model's extents, and returns it to a calling subroutine.

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