API Reference > Functions > OdPrcExtentsCalculator Namespace > OdPrcExtentsCalculator::calculateExtents Function
OdPrcExtentsCalculator::calculateExtents Function
Syntax
C++
OdGeExtents3d OD_TOOLKIT_EXPORT calculateExtents(OdPrcFilePtr pPRCFile);

PrcExtentsCalculator.h

Parameters 
Description 
OdPrcFilePtr pPRCFile 
[in] A smart pointer to a PRC file object.  

Returns an OdGeExtents3d object that represents three-dimensional extents of the PRC model contents.

Calculates extents for a specified PRC file contents.

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