API Reference > OdIfc Namespace > Classes > OdIfcModelerGeometry Class > OdIfcModelerGeometry Methods > OdIfcModelerGeometry::getBoundingBox Method
OdIfcModelerGeometry::getBoundingBox Method
Syntax
C++
virtual OdResult getBoundingBox(OdGeExtents3d & box) const = 0;
Parameters 
Description 
OdGeExtents3d & box 
[out] A placeholder for the body extents object. 

Returns eOk if the bounding box was successfully returned; otherwise, the eNullExtents value is returned.

Calculates the extents of the body within the geometry modeler. 

 

If the bounding box was not successfully calculated, the output parameter, that contains the box object, is equal to the NULL value.

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