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

Returns eOk if the perimeter was successfully returned to the calling subroutine or an appropriate error code in the other case.

Returns the current perimeter value of the surface. 

 

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

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