MapWinGeoProc:Globals SortIntersectAndLocationArrays

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



 SortIntersectAndLocationArrays(ref MapWinGIS.Point startPt, ref MapWinGIS.Point[] intersectPts, ref int[] polyLoc)


Given a reference point to the line, and an array of points that
lie along the line, this method sorts the array of points from the point
closest to the reference pt to the pt farthest away. It also sorts the corresponding
polygon location array so that the indicies refer to the correct intersection point.


startPt Point in line segment used as reference.
intersectPts Array of points that lie on the same line as startPt.
polyLoc Array indexing where in polygon an intersect occurs.

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

Retrieved from ""

This page has been accessed 824 times. This page was last modified on 26 June 2006, at 16:05.