Line

open class Line

Representation of line

Calculates line by two points and finds intersection points with other lines General line formula is a * x + b * y + c = 0

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun calculateLine(start: PointF, end: PointF)
Calculate all 3 components of the line
Link copied to clipboard
open fun getDistanceToPoint(point: PointF): Double
Calculates distance to point Should be used after line components are calculated
Link copied to clipboard