API Reference > OdDb Classes > OdDbCurve Class > OdDbCurve Methods > OdDbCurve::getProjectedCurve Method
OdDbCurve::getProjectedCurve Method
Syntax
C++
virtual OdResult getProjectedCurve(const OdGePlane& projPlane, const OdGeVector3d& projDirection, OdDbCurvePtr* pProjCurve) const;
Parameters 
Description 
const OdGePlane& projPlane 
[in] Projection plane.  
const OdGeVector3d& projDirection 
[in] Projection direction.  
OdDbCurvePtr* pProjCurve 
[out] Receives a SmartPointer to the projected curve. 

Returns eOk if successful, or an appropriate error code if not.

Creates a curve by projecting this Curve object onto the specified plane along the specified direction. 

 

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