AddPoint

LineString.AddPoint method (1 of 4)

Adds a point to the end of the line.

public void AddPoint(IPoint point)
Parameter Type Description
point IPoint The point to add.

Exceptions

exception condition
ArgumentNullException The argument is null.
ArgumentException The argument is empty (its IsEmpty is true).
ArgumentException SpatialReferenceSystem of this geometry and SpatialReferenceSystem of argument are both not null and don’t equal to each other.

See Also


LineString.AddPoint method (2 of 4)

Adds a point to the end of the line.

public void AddPoint(double x, double y)
Parameter Type Description
x Double The value for X coordinate.
y Double The value for Y coordinate.

See Also


LineString.AddPoint method (3 of 4)

Adds a point to the end of the line.

public void AddPoint(double x, double y, double z)
Parameter Type Description
x Double The value for X coordinate.
y Double The value for Y coordinate.
z Double The value for Z coordinate.

See Also


LineString.AddPoint method (4 of 4)

Adds a point to the end of the line.

public void AddPoint(double x, double y, double z, double m)
Parameter Type Description
x Double The value for X coordinate.
y Double The value for Y coordinate.
z Double The value for Z coordinate.
m Double The value for M coordinate.

See Also