Components

indigo.shared.geometry.Line.Components
final case class Components(m: Double, b: Double) extends Line

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Line
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def intersectsAt(other: Line): Option[Vertex]
def intersectsWith(other: Line): Boolean
def slopeComparison(vertex: Vertex, tolerance: Double): Boolean

This is a slope comparison function. Any point on the line should have the same slope as the line, however, this fails in the case where the x position of the vertex is 0.

This is a slope comparison function. Any point on the line should have the same slope as the line, however, this fails in the case where the x position of the vertex is 0.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def ~==(other: Line): Boolean

Attributes

Inherited from:
Line