LineString.LineString

LineString()

Initializes a new instance of the LineString class.

public LineString()

See Also


LineString(IEnumerable<IPoint>)

Initializes a new instance of the LineString class.

public LineString(IEnumerable<IPoint> collection)
ParameterTypeDescription
collectionIEnumerable`1The collection of points.

Exceptions

exceptioncondition
ArgumentNullExceptionThe argument is null.
ArgumentExceptionAny point is empty (its IsEmpty is true).

See Also


LineString(ILineString)

Initializes a new instance of the LineString class.

public LineString(ILineString other)
ParameterTypeDescription
otherILineStringThe other line to copy data from.

Exceptions

exceptioncondition
ArgumentNullExceptionThe argument is null.

See Also