C++
Acad::ErrorStatus acdbAssignGelibCurveToAcDbCurve( const AcGeCurve3d& geCurve, AcDbCurve* pDbCurve, AcGeVector3d* normal = NULL, const AcGeTol& tol = AcGeContext::gTol );
File
dbxutil.h
Description
This function takes an AcGeCurve3d and sets the specified AcDbCurve to be geometrically identical to the AcGeCurve3d.
Parameters
Parameters | Description |
---|---|
geCurve | Input reference to an AcGeCurve3d. |
pDbCurve | Pointer to an existing AcDbCurve object that must be open for write and of a compatible type to the AcGeCurve3d. |
normal | Optional normal vector. If this parameter is supplied then it must be a valid vector that is perpendicular to the input geCurve, and this vector will become the normal vector of the output pDbCurve. If this parameter is not supplied, then this function will compute the normal vector itself. |
tol | Optional input tolerance. |
Returns
eOk if successful.