struct Geometry::Point

Defined in:

geometry/point.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

[View source]

Class Method Detail

def self.new_by_array(array : Array(Int32)) #

[View source]

Instance Method Detail

def ==(other : Point) #

[View source]
def advance_by(other : Vector) #

[View source]
def distance_to(other : Point) #

[View source]
def to_vector #

[View source]
def x : Int32 #

[View source]
def x=(x) #

[View source]
def y : Int32 #

[View source]
def y=(y) #

[View source]