struct Point

Defined in:

place/area_polygon.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def distance_to(point : Point) #

pythagoras


[View source]
def x : Float64 #

[View source]
def x=(x : Float64) #

[View source]
def y : Float64 #

[View source]
def y=(y : Float64) #

[View source]