CG2d::Line(T)
T may be any subtype of Vec(T)
i.g. Line(Int32)
Constructors
new(p1 : Vec(T), p2 : Vec(T))
SourceInstance methods
bottom
Sourcecontains_y?(y)
Sourceinv_slope
Sourceleft
Sourcep1
Sourcep1=(p1 : Vec(T))
Sourcep2
Sourcep2=(p2 : Vec(T))
Sourceright
Sourceslope
Sourcetop
Sourcex_at(y)
Sourcey_at(x)
Source