Geotools.Net

NonRobustCGAlgorithms.IsOnLine Method 

Tests whether a point lies on a linestring.

[Visual Basic]
Overrides Public Function IsOnLine( _
   ByVal p As Coordinate, _
   ByVal pt As Coordinates _
) As Boolean
[C#]
public override bool IsOnLine(
   Coordinate p,
   Coordinates pt
);

Parameters

p
Point to test.
pt
LineString to test.

Return Value

Returns true if the point is a vertex of the line or lies in the interior of a line segment in the linestring.

Remarks

Missing <remarks> documentation for M:Geotools.Algorithms.NonRobustCGAlgorithms.IsOnLine(Geotools.Geometries.Coordinate,Geotools.Geometries.Coordinates)

See Also

NonRobustCGAlgorithms Class | NonRobustCGAlgorithms Members | Geotools.Algorithms Namespace