API Reference > OdGe Classes > OdGeSurface Class > OdGeSurface Methods > OdGeSurface::getGeomExtents Method
OdGeSurface::getGeomExtents Method
Syntax
C++
OdGeExtents3d getGeomExtents(const OdGeUvBox& range = OdGeUvBox(), const OdGeMatrix3d* coordSystem = NULL) const;
Parameters 
Description 
const OdGeUvBox& range = OdGeUvBox() 
[in] The part of the surface to be bounded.  
const OdGeMatrix3d* coordSystem = NULL 
[in] The local coordinate system in which box extents are computed. 

Returns bounding box of the whole surface or a part of it. The box is axis-aligned in the specified local coordinate system. It is guaranteed to enclose the surface, but not guaranteed to be tight/minimal. 

 

If range is unbounded (e.g. by default), then bounding box of the whole surface (which range can be obtained by getEnvelope method) is computed. Otherwise bounding box is computed only for the set of points with parameter in the specified range. If coordSystem is NULL (e.g. by default), then bounding box is aligned with global coordinate axes. Otherwise, the box will be axis-aligned in the local coordinate system specified by coordSystem matrix.

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