API Reference > OdGe Classes > OdGeSurface Class > OdGeSurface Methods > OdGeSurface::isOn Method
OdGeSurface::isOn Method
Syntax
C++
bool isOn(const OdGePoint3d& point, OdGePoint2d& paramPoint, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
const OdGePoint3d& point 
[in] Point that is checked to be on this surface.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Geometric tolerance. 
ParamPoint 
[out] Receives the 2D pair of parameter values at the point if the input point lies on the surface.  

Determines if the passed point is on this surface and retrieves a 2D point that represents parametric values for the passed 3D point if it is on this surface. 

 

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