API Reference > Classes > Geometry Classes > OdBmGCurve Class > OdBmGCurve Methods > OdBmGCurve::createOffset Method
OdBmGCurve::createOffset Method
Syntax
C++
OdResult createOffset(const double dOffsetDist, const OdGeVector3d& refVec, OdBmGCurvePtr& pGCurve) const;
Parameters 
Description 
const double dOffsetDist 
[in] Distance that controls the offset.  
const OdGeVector3d& refVec 
[in] Offset direction vector.  
OdBmGCurvePtr& pGCurve 
[out] New offset curve.
 

Returns eOk if successful or an appropriate error code in the other case.

Creates a new offset curve of the existing curve.

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