math/ intersects.bi | |
License | Copyright © 2009, FreeBASIC Extended Library Development Group |
ext.math | |
Functions | |
Intersects | Determines if two line segments intersect or overlap. |
Intersects | Determines if two line segments intersect or overlap. |
Copyright © 2009, 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- /p- /fb-extended-lib- /wiki- /License
Functions | |
Intersects | Determines if two line segments intersect or overlap. |
Intersects | Determines if two line segments intersect or overlap. |
declare function Intersects overload ( byval a as fbext_Line2(( T_)), byval b as fbext_Line2(( T_)), byref solution as fbext_Vector2(( T_)) ) as bool
Determines if two line segments intersect or overlap. If not, false is returned. Otherwise, if the line segments intersect at a point, then `solution` is assigned this value. Otherwise, if the line segments overlap (are coincident), then `solution` is assigned the value of the midpoint of the overlap. In either case, true is returned.
Determines if two line segments intersect or overlap.
declare function Intersects overload ( byval a as fbext_Line2(( T_)), byval b as fbext_Line2(( T_)) ) as bool