AoC2019::Day3::Line
Inherits Struct < Value < Object
Constructors
new(p1 : Point, p2 : Point)
SourceInstance methods
horizontal?
Sourceincludes?(point : Point)
Sourceintersection(other : Line)
Sourcelength
Sourcep1
Sourcep2
Sourcestep_to(point : Point)
Sourcevertical?
Sourcex1
Sourcex2
Sourcey1
Sourcey2
Source