API Reference > OdGe Classes > OdGeOffsetSurface Class > OdGeOffsetSurface Methods > OdGeOffsetSurface::set Method
OdGeOffsetSurface::set Method
Syntax
C++
OdGeOffsetSurface& set(OdGeSurface* baseSurface, double offsetDistance, bool makeCopy = true);
Parameters 
Description 
OdGeSurface* baseSurface 
[in] A base surface that is referenced by this offset surface.  
double offsetDistance 
[in] Offset distance.  
bool makeCopy = true 
[in] Makes a copy of baseSurface. 

Returns a reference to this surface.

Sets the parameters for this surface according to the arguments. 

 

The direction of offset is determined by the sign of the offsetDistance parameter.

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