Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGePlanarEnt::closestPointToLinearEnt Method
Syntax
C++
OdGePoint3d closestPointToLinearEnt(const OdGeLinearEnt3d& line, OdGePoint3d& pointOnLine, const OdGeTol& tol = OdGeContext::gTol) const;

Returns the point on this plane that is closest to the specified linear entity, and the point on the linear entity that is closest to this plane. 

 

Parameters
Description
line
[in] A 3D linear entity for which the closest point is computed.
pointOnLine
[out] Receives the closest point on the linear entity.
tol
[in] Geometric tolerance.
Copyright © 2002-2022. Open Design Alliance All rights reserved.