Segment2D

interface Segment2D(source)

A basic 2-dimensional segment.

Functions

Link copied to clipboard
abstract fun getX1(): Number
Returns the x coordinate of the first point.
Link copied to clipboard
abstract fun getX2(): Number
Returns the x coordinate of the second point.
Link copied to clipboard
abstract fun getY1(): Number
Returns the y coordinate of the first point.
Link copied to clipboard
abstract fun getY2(): Number
Returns the y coordinate of the second point.