Geode::Segment
Inherits Enumerable < Geode::Line < Reference < Object
The Segment class represents a two-dimensional line segment with two endpoints.
Constructors
new(p1 : Point, p2 : Point)
SourceInstance methods
==(other : self)
Returns true if this reference is the same as other. Invokes same?.
hash(hasher)
See Object#hash(hasher)