Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeSurface::getClosestPointTo Method
Syntax
C++
void getClosestPointTo(const OdGePoint3d& point, OdGePointOnSurface& pntOnSurface, const OdGeTol& tol = OdGeContext::gTol) const;

Returns the point on this surface closest to the specified point. 

 

Parameters
Description
point
[in] Input 3D point to which the closest point on this surface is calculated.
pntOnSurface
[out] Receives the closest point on the surface.
tol
[in] Geometric tolerance.

By default this function throws exception "not Implemented". Should be implemented in derived classes.

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