MapWinGeoProc:Globals LinesIntersect2D

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

Printable version | Disclaimers | Privacy policy

LinesIntersect2D

Syntax

 bool LinesIntersect2D(MapWinGeoProc.Globals.Line S1, System.Boolean S1_isRay, MapWinGeoProc.Globals.Line S2, System.Boolean S2_isRay, ref MapWinGIS.Point intersectPoint)

Summary

Calculates the intersection point between two lines.

Parameters

S1 First line segment.
S1_isRay True if line 1 is a ray, false if it's a finite segment.
S2 Second line segment.
S2_isRay True if line 2 is a ray, false if it's a finite segment.
intersectPoint The intersection point between segments 1 and 2.

Returns

True if a valid intersect point exists, false if the lines do not cross.

Visual Basic Net 2005 Example Implementation Code
Visual C# 2005 Example Implementation Code
Back to Globals

Retrieved from "http://mapwindow.org/wiki/index.php/MapWinGeoProc:Globals_LinesIntersect2D"

This page has been accessed 909 times. This page was last modified on 26 June 2006, at 15:59.