LineString.AddPoint

AddPoint(IPoint)

Adds a point to the end of the line.

public void AddPoint(IPoint point)
ParameterTypeDescription
pointIPointThe point to add.

Exceptions

exceptioncondition
ArgumentNullExceptionThe argument is null.
ArgumentExceptionThe argument is empty (its IsEmpty is true).
ArgumentExceptionSpatialReferenceSystem of this geometry and SpatialReferenceSystem of argument are both not null and don’t equal to each other.

See Also


AddPoint(double, double)

Adds a point to the end of the line.

public void AddPoint(double x, double y)
ParameterTypeDescription
xDoubleThe value for X coordinate.
yDoubleThe value for Y coordinate.

See Also


AddPoint(double, double, double)

Adds a point to the end of the line.

public void AddPoint(double x, double y, double z)
ParameterTypeDescription
xDoubleThe value for X coordinate.
yDoubleThe value for Y coordinate.
zDoubleThe value for Z coordinate.

See Also


AddPoint(double, double, double, double)

Adds a point to the end of the line.

public void AddPoint(double x, double y, double z, double m)
ParameterTypeDescription
xDoubleThe value for X coordinate.
yDoubleThe value for Y coordinate.
zDoubleThe value for Z coordinate.
mDoubleThe value for M coordinate.

See Also