PointToLineDistance 2D/3D• PointToLineDistance[point, axis] returns the shortest distance from point to axis. • In Modeler2D, a negative return value indicates that point lies to the right of axis. • If axis is specified with a Modeler3D Plane object, the shortest distance from point to the plane's normal is returned. • See also: PointToPlaneDistance. Further Examples Load the Modeler2D package and define a simple model. Here is the shortest distance from the center of the crank to the link.
Out[2]= | ![](/applications/mechsystems/FunctionIndex/HTMLImages/PointToLineDistance.en/PointToLineDistance.en_3.gif) |
Out[3]= | ![](/applications/mechsystems/FunctionIndex/HTMLImages/PointToLineDistance.en/PointToLineDistance.en_4.gif) |
See HelpModel2D.
|