math/ | |
License | Copyright © 2007-2011, FreeBASIC Extended Library Development Group |
ext.math | |
Functions | |
GetProjectedPoint | Finds the closest point on a line from a point in 2D space. |
ClampProjectedPoint | Finds the closest point on a line segment from a point in 2D space. |
Copyright © 2007-2011, FreeBASIC Extended Library Development Group
Distributed under the FreeBASIC Extended Library Group license. See accompanying file LICENSE.txt or copy at http://code.google.com
Functions | |
GetProjectedPoint | Finds the closest point on a line from a point in 2D space. |
ClampProjectedPoint | Finds the closest point on a line segment from a point in 2D space. |
Finds the closest point on a line from a point in 2D space.
declare function GetProjectedPoint overload ( byval l as fbext_Line2(( T_)), byval p as fbext_Vector2(( T_)) ) as fbext_Vector2(( T_))
Finds the closest point on a line segment from a point in 2D space.
declare function ClampProjectedPoint overload ( byval l as fbext_Line2(( T_)), byval p as fbext_Vector2(( T_)) ) as fbext_Vector2(( T_))