Geotools.Net

CGAlgorithms.DistancePointLine Method 

Computes the distance from a point p to a line segment AB

[Visual Basic]
Public Shared Function DistancePointLine( _
   ByVal p As Coordinate, _
   ByVal A As Coordinate, _
   ByVal B As Coordinate _
) As Double
[C#]
public static double DistancePointLine(
   Coordinate p,
   Coordinate A,
   Coordinate B
);

Parameters

p
Missing <param> documentation for p
A
Missing <param> documentation for A
B
Missing <param> documentation for B

Return Value

Missing <returns> documentation for M:Geotools.Algorithms.CGAlgorithms.DistancePointLine(Geotools.Geometries.Coordinate,Geotools.Geometries.Coordinate,Geotools.Geometries.Coordinate)

Remarks

Note: NON-ROBUST!

See Also

CGAlgorithms Class | CGAlgorithms Members | Geotools.Algorithms Namespace