MapWinGeoProc:Utils PartIsSelfIntersecting

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

PartIsSelfIntersecting

Syntax

 bool PartIsSelfIntersecting(MapWinGIS.Shape shape, int PartIndex)

Summary

Tests a specific part to ascertain if any two segements in the part intersect each other.

Parameters

shape A MapWinGIS Shapefile object.
PartIndex An integer from 0 to Shape.numParts - 1 specifying the part to test.

Returns

A True if lines intersect, false if not.

Remarks

Author: Ted Dunsford 6/21/2006
Algorithm derived from: http://astronomy.swin.edu.au/~pbourke/geometry/lineline2d/
Cached in MapWinGeoProc\Documentation\IntersectionPointOfTwoLines.htm

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

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

This page has been accessed 869 times. This page was last modified on 26 June 2006, at 03:23.