Geode::Point
Inherits Enumerable < Struct < Value < Object
The Point struct represents a point on the 2-dimensional Cartesian plane.
Constructors
Class methods
collinear?(p1 : Point, p2 : Point, p3 : Point)
Returns whether or not the three given points are collinear, i.e. whether a straight line could be drawn that passes through all three points.
Instance methods
==(other : self)
hash(hasher)
See Object#hash(hasher)