API Reference > Classes > Geometry Classes > OdBmSurface Class > OdBmSurface Methods > OdBmSurface::projectPntToSurf Method
OdBmSurface::projectPntToSurf Method
Syntax
C++
OdResult projectPntToSurf(const OdGePoint3d& point, OdGePoint3d& retVal, double& dist, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
const OdGePoint3d& point 
[in] Input point.  
OdGePoint3d& retVal 
[out] Output projection point.  
double& dist 
[out] Output distance from point to projection.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Input tolerance value. 

Returns projection of the point to surface and distance between projection and the point. 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.