API Reference > OdDg Classes > OdDgCurveElement3d Class > OdDgCurveElement3d Methods > OdDgCurveElement3d::getProjectedCurve Method
OdDgCurveElement3d::getProjectedCurve Method
Syntax
C++
virtual OdResult getProjectedCurve(const OdGePlane& projPlane, const OdGeVector3d& projDirection, OdDgCurveElement3dPtr* pProjCurve) const;
Parameters 
Description 
const OdGePlane& projPlane 
[in] Projection plane.  
const OdGeVector3d& projDirection 
[in] Projection direction.  
OdDgCurveElement3dPtr* 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.