Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDgCurveElement2d::createFromOdGeCurve Method
Syntax
C++
static OdResult createFromOdGeCurve(const OdGeCurve2d& geCurve, OdDgCurveElement2d*& pDgCurve, const OdGeTol& tol = OdGeContext::gTol);

Takes an OdGeCurve3d and returns an OdDbCurve that is geometrically identical to the OdGeCurve3d.

Parameters
Description
geCurve
[in] Reference to an OdGeCurve2d.
pDgCurve
[out] Receives a pointer to an OdDgCurveElement2d object that is geometrically identical to geCurve. The caller of this function is responsible for deleting this OdDbCurve object or adding it to the database.
tol
[in] Optional tolerance

Returns eOk if successful.

Copyright © 2002-2022. Open Design Alliance All rights reserved.