API Reference > OdGe Classes > OdGeVector3d Class > OdGeVector3d Methods > project Method > OdGeVector3d::project Method (OdGeVector3d&, OdGeVector3d&)
OdGeVector3d::project Method (OdGeVector3d&, OdGeVector3d&)
Syntax
C++
OdGeVector3d project(const OdGeVector3d& planeNormal, const OdGeVector3d& projectDirection) const;
Parameters 
Description 
const OdGeVector3d& planeNormal 
[in] A 3D vector which is a normal vector of a plane on which this vector is projected.  
const OdGeVector3d& projectDirection 
[in] A projection direction. 

Returns a 3D vector which is the result of the projection of this vector in given projectDirection into the plane with normal planeNormal passing through the origin. 

 

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