Geotools.Net

GeometryFactory.CreateLinearRing Method 

Creates a new linear ring given a set of coordinates.

[Visual Basic]
Public Function CreateLinearRing( _
   ByVal coordinates As Coordinates _
) As LinearRing
[C#]
public LinearRing CreateLinearRing(
   Coordinates coordinates
);

Parameters

coordinates
The coordinates to be used to create the linear ring.

Return Value

A new linear ring.

Remarks

Throws an argument exception if the number of coordiates is less than 1.

See Also

GeometryFactory Class | GeometryFactory Members | Geotools.Geometries Namespace