Line class consists of two points, i. e. instances of the Coordinate class.
constructor(point1: Coordinate, point2: Coordinate)
Line object with point1 and point2.
Update the first point.
Return the first point (
Update the second point.
Return the second point (
Return an array with the first and second point (Array<
Return the length of
Line (Distance between the first and second point) using the calculator (number)
Line of where the points are reversed (