API Reference > OdGe Classes > OdGeSurface Class > OdGeSurface Methods > OdGeSurface::project Method
OdGeSurface::project Method
Syntax
C++
bool project(const OdGePoint3d& p, OdGePoint3d& projP, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
const OdGePoint3d& p 
[in] Any 3D point.  
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 a normal to this surface passes through the point p.

Projects a point onto this surface. 

 

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