LineString Class

Version 1.0.0-beta002
.NET Framework 4.7
Namespace Skybrud.Essentials.Maps.Geometry.Lines
Assembly Skybrud.Essentials.Maps.dll
Visibility Public
Interfaces ILineString, ILineBase, IGeometry
Inheritance Object

Class representing a line string / polyline (closed path).

public class LineString : ILineString, ILineBase, IGeometry { }

Properties

Type Name Summary
Array of IPoint Points

Gets the array of points making up the line string.

Methods

Adds point to the line string.

Removes all points from the line string.

GetBoundingBox() (virtual)

Returns a new rectangle representing the bounding box of this line string.

GetCenter() (virtual)

Returns a new point representing the center of this line string.

GetLength() (virtual)

Returns the total length of this line string.

Inserts point at the specified index.

Removes the specified point from the line string.

Removes the point at index.