MapWinGeoProc:Topology2D:Polygon ClosestPointOn

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

ClosestPointOn

Syntax

ClosestPointOn(MapWinGeoProc.Topology2D.Polygon Poly)

Summary

In the 2D case, we can treat the edges of the extents as segments and use the segment distance equations to find the closest distance.

Parameters

Poly The Polygon to inspect and return the point that is closest to this polygons centroid. If there are equal distances, this will keep the first segment it finds.

Returns

a Point representing the closest point found on the boundaries.

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

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

This page has been accessed 618 times. This page was last modified on 9 December 2006, at 02:26.