API Reference > OdGe Classes > OdGePlanarEnt Class > OdGePlanarEnt Methods > OdGePlanarEnt::project Method
OdGePlanarEnt::project Method
Syntax
C++
bool project(const OdGePoint3d& p, const OdGeVector3d& unitDir, OdGePoint3d& projP, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
const OdGePoint3d& p 
[in] Any 3D point.  
const OdGeVector3d& unitDir 
[in] Unit vector specifying the projection direction.  
OdGePoint3d& projP 
[out] Receives the point on this surface.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Geometric tolerance. 

true if and only if there is a point on this surface, projP, where unitDir passes through the point p.

Projects a point onto this surface in given direction. 

 

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