Share

acdbConvertAcDbCurveToGelibCurve Function

C++

Acad::ErrorStatus acdbConvertAcDbCurveToGelibCurve(
    const AcDbCurve* dbCurve, 
    AcGeCurve3d*& pGeCurve, 
    const AcGeTol& tol = AcGeContext::gTol
);

File

dbxutil.h

Description

This function takes an AcDbCurve and returns an AcGeCurve3d that is geometrically identical to the AcDbCurve.

Parameters

Parameters Description
dbCurve Input reference to an AcDbCurve.
pGeCurve Output pointer to an AcGeCurve3d object that is geometrically identical to dbCurve. The caller of this function is responsible for deleting this AcGeCurve3d object.
tol Optional input tolerance.

Returns

eOk if successful.

Was this information helpful?