class

Crystalg::Geometry::Point(T)

Inherits Comparable < Reference < Object

Constructors

new(x : T, y : T)
Source

Instance methods

*(other)
Source
+(other : self)
Source
-(other : self)
Source
/(other)
Source
<=>(other)
Source
==(other)

Returns false (other can only be a Value here).

Source
cross(other)
Source
distance(other)
Source
dot(other)
Source
norm
Source
rotate(radian, pivot = Point.new(0, 0))
Source