API Reference > OdDg Classes > OdDgCurveElement3dPE Class > OdDgCurveElement3dPE Methods > OdDgCurveElement3dPE::getOrthoProjectedCurve Method
OdDgCurveElement3dPE::getOrthoProjectedCurve Method
Syntax
C++
virtual OdResult getOrthoProjectedCurve(const OdDgCurveElement3d* pCurve, const OdGePlane& projPlane, OdDgCurveElement3dPtr* pProjCurve) const = 0;
Parameters 
Description 
const OdDgCurveElement3d* pCurve 
[in] Pointer to the curve to project.  
const OdGePlane& projPlane 
[in] Projection plane.  
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 the specified Curve object onto the specified plane along a normal to the place. 

 

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