class Celestine::Point

Defined in:

Constant Summary

OPERATIONS = [:+, :-, :/, :*, :**, :&, :|, :^, :<<, :>>, :%]
ZERO = Celestine::Point.new(0, 0)

Constructors

Instance Method Summary

Constructor Detail

def self.new(x, y) #

Instance Method Detail

def %(other : Celestine::Point) #

def &(other : Celestine::Point) #

def *(other : Celestine::Point) #

def **(other : Celestine::Point) #

def +(other : Celestine::Point) #

def -(other : Celestine::Point) #

def /(other : Celestine::Point) #

def <<(other : Celestine::Point) #

def >>(other : Celestine::Point) #

def ^(other : Celestine::Point) #

def to_s(io) #

def x : Int32 #

def x=(x : Int32) #

def y : Int32 #

def y=(y : Int32) #

def |(other : Celestine::Point) #