API Reference > OdDb Classes > OdDbSurface Class > OdDbSurface Methods > OdDbSurface::getPerimeter Method
OdDbSurface::getPerimeter Method
Syntax
C++
OdResult getPerimeter(double&) const;
Parameters 
Description 
dRegionPerimeter 
[in] Reference to a double value to store the perimeter.
 

eOk if the perimeter was successfully returned to the calling subroutine or an appropriate error code otherwise.

Returns the current perimeter value of the surface. 

 

This method is implemented for Spatial modeler only and returns the eNotImplementedYet status for other modelers.

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