class Celestine::FPoint

Defined in:

Constant Summary

OPERATIONS = [:+, :-, :/, :*]
ZERO = Celestine::FPoint.new(0.0, 0.0)

Constructors

Instance Method Summary

Constructor Detail

def self.new(x : Float64 | Float32 | Int32, y : Float64 | Float32 | Int32) #

Instance Method Detail

def *(other : Celestine::FPoint) #

def +(other : Celestine::FPoint) #

def -(other : Celestine::FPoint) #

def /(other : Celestine::FPoint) #

def to_s(io) #

def x : Float64 #

def x=(x : Float64) #

def y : Float64 #

def y=(y : Float64) #