Geotools.Net

CGAlgorithms.IsOnLine Method 

Tests whether a point lies on a linestring.

[Visual Basic]
MustOverride Public Function IsOnLine( _
   ByVal p As Coordinate, _
   ByVal linestring As Coordinates _
) As Boolean
[C#]
public abstract bool IsOnLine(
   Coordinate p,
   Coordinates linestring
);

Parameters

p
Point to test.
linestring
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.CGAlgorithms.IsOnLine(Geotools.Geometries.Coordinate,Geotools.Geometries.Coordinates)

See Also

CGAlgorithms Class | CGAlgorithms Members | Geotools.Algorithms Namespace