API Reference > OdDb Classes > OdDbCurvePE Class > OdDbCurvePE Methods > OdDbCurvePE::getProjectedCurve Method
OdDbCurvePE::getProjectedCurve Method
Syntax
C++
virtual OdResult getProjectedCurve(const OdDbCurve* pCurve, const OdGePlane& projPlane, const OdGeVector3d& projDirection, OdDbCurvePtr* pProjCurve) const = 0;
Parameters 
Description 
const OdDbCurve* pCurve 
[in] Pointer to the curve to project.  
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 the specified Curve object onto the specified plane along the specified direction. 

 

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