API Reference > OdGe Classes > OdGeOffsetSurface Class > OdGeOffsetSurface Constructor > OdGeOffsetSurface::OdGeOffsetSurface Constructor (OdGeSurface*, double, bool)
OdGeOffsetSurface::OdGeOffsetSurface Constructor (OdGeSurface*, double, bool)
Syntax
C++
OdGeOffsetSurface(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. 

Constructor for the OdGeOffsetSurface class. 

 

Constructs an offset object defined by input data. If makeCopy is true, then the offset points to its own copy of the base surface. Otherwise it points directly to the input surface. The direction of offset is determined by the sign of the offsetDistance parameter.

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