Line Class

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

Class representing a line between two instances of IPoint.

public class Line : ILine, ILineBase, IGeometry { }

Properties

Type Name Summary
IPoint A

Gets the start point of the line.

IPoint B

Gets the end point of the line.

Methods

GetBoundingBox() (virtual)

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

GetCenter() (virtual)

Returns a new point representing the center of this line.

GetLength() (virtual)

Returns the total length of this line.