API Reference > Classes > GeometryUtils Classes > OdBmCylSurf Class > OdBmCylSurf Methods > OdBmCylSurf::getGeSurface Method
OdBmCylSurf::getGeSurface Method
Syntax
C++
OdResult getGeSurface(OdGeSurface* & pSurface, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
OdGeSurface* & pSurface 
[out] A raw pointer to an OdGeSurface object to be returned to a calling subroutine.  
const OdGeTol& tol = OdGeContext::gTol 
[in] A tolerance value.  

eOk if the cylinder surface was successfully converted to an OdGeSurface object; otherwise, the method returns an appropriate error code.

Converts the cylinder surface object to an OdGeSurface object. 

 

The method fills the passed OdGeSurface object and returns it to a calling subroutine.

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