MapWinGeoProc:Statistics DistancePointToLine

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

DistancePointToLine

Syntax

 double DistancePointToLine(MapWinGIS.Point pt, MapWinGIS.Shape line, int distType)

Summary

Not Implemented
Computes the distance between a point and a line.

Parameters

pt The point to be considered.
line The line to be considered.
distType Indicates whether the distance should be from the nearest, farthest, or centroid of the line.

Returns

The distance from the line, else 0 if an error was encountered.

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

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

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