struct Point

Included Modules

Defined in:

vector.cr

Constructors

Instance Method Summary

Instance methods inherited from module Vectorlike

[](axis) [], max_axis max_axis, max_component max_component, to_point to_point, to_tuple to_tuple, to_vector to_vector

Constructor Detail

def self.new(x, y, z) #

[View source]
def self.new(xy : Tuple, z : Float64) #

[View source]
def self.new(value) #

[View source]

Instance Method Detail

def +(other : Vector) #

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

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

[View source]
def _x_x #

[View source]
def _x_x_x #

[View source]
def _x_x_y #

[View source]
def _x_x_z #

[View source]
def _x_xx #

[View source]
def _x_xy #

[View source]
def _x_xz #

[View source]
def _x_y #

[View source]
def _x_y_x #

[View source]
def _x_y_y #

[View source]
def _x_y_z #

[View source]
def _x_yx #

[View source]
def _x_yy #

[View source]
def _x_yz #

[View source]
def _x_z #

[View source]
def _x_z_x #

[View source]
def _x_z_y #

[View source]
def _x_z_z #

[View source]
def _x_zx #

[View source]
def _x_zy #

[View source]
def _x_zz #

[View source]
def _xx #

[View source]
def _xx_x #

[View source]
def _xx_y #

[View source]
def _xx_z #

[View source]
def _xxx #

[View source]
def _xxy #

[View source]
def _xxz #

[View source]
def _xy #

[View source]
def _xy_x #

[View source]
def _xy_y #

[View source]
def _xy_z #

[View source]
def _xyx #

[View source]
def _xyy #

[View source]
def _xyz #

[View source]
def _xz #

[View source]
def _xz_x #

[View source]
def _xz_y #

[View source]
def _xz_z #

[View source]
def _xzx #

[View source]
def _xzy #

[View source]
def _xzz #

[View source]
def _y_x #

[View source]
def _y_x_x #

[View source]
def _y_x_y #

[View source]
def _y_x_z #

[View source]
def _y_xx #

[View source]
def _y_xy #

[View source]
def _y_xz #

[View source]
def _y_y #

[View source]
def _y_y_x #

[View source]
def _y_y_y #

[View source]
def _y_y_z #

[View source]
def _y_yx #

[View source]
def _y_yy #

[View source]
def _y_yz #

[View source]
def _y_z #

[View source]
def _y_z_x #

[View source]
def _y_z_y #

[View source]
def _y_z_z #

[View source]
def _y_zx #

[View source]
def _y_zy #

[View source]
def _y_zz #

[View source]
def _yx #

[View source]
def _yx_x #

[View source]
def _yx_y #

[View source]
def _yx_z #

[View source]
def _yxx #

[View source]
def _yxy #

[View source]
def _yxz #

[View source]
def _yy #

[View source]
def _yy_x #

[View source]
def _yy_y #

[View source]
def _yy_z #

[View source]
def _yyx #

[View source]
def _yyy #

[View source]
def _yyz #

[View source]
def _yz #

[View source]
def _yz_x #

[View source]
def _yz_y #

[View source]
def _yz_z #

[View source]
def _yzx #

[View source]
def _yzy #

[View source]
def _yzz #

[View source]
def _z_x #

[View source]
def _z_x_x #

[View source]
def _z_x_y #

[View source]
def _z_x_z #

[View source]
def _z_xx #

[View source]
def _z_xy #

[View source]
def _z_xz #

[View source]
def _z_y #

[View source]
def _z_y_x #

[View source]
def _z_y_y #

[View source]
def _z_y_z #

[View source]
def _z_yx #

[View source]
def _z_yy #

[View source]
def _z_yz #

[View source]
def _z_z #

[View source]
def _z_z_x #

[View source]
def _z_z_y #

[View source]
def _z_z_z #

[View source]
def _z_zx #

[View source]
def _z_zy #

[View source]
def _z_zz #

[View source]
def _zx #

[View source]
def _zx_x #

[View source]
def _zx_y #

[View source]
def _zx_z #

[View source]
def _zxx #

[View source]
def _zxy #

[View source]
def _zxz #

[View source]
def _zy #

[View source]
def _zy_x #

[View source]
def _zy_y #

[View source]
def _zy_z #

[View source]
def _zyx #

[View source]
def _zyy #

[View source]
def _zyz #

[View source]
def _zz #

[View source]
def _zz_x #

[View source]
def _zz_y #

[View source]
def _zz_z #

[View source]
def _zzx #

[View source]
def _zzy #

[View source]
def _zzz #

[View source]
def abs #

TODO the methods below are only needed for some DE Primitives


[View source]
def dot(other : Normal) #

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

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

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

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

[View source]
def x_x #

[View source]
def x_x_x #

[View source]
def x_x_y #

[View source]
def x_x_z #

[View source]
def x_xx #

[View source]
def x_xy #

[View source]
def x_xz #

[View source]
def x_y #

[View source]
def x_y_x #

[View source]
def x_y_y #

[View source]
def x_y_z #

[View source]
def x_yx #

[View source]
def x_yy #

[View source]
def x_yz #

[View source]
def x_z #

[View source]
def x_z_x #

[View source]
def x_z_y #

[View source]
def x_z_z #

[View source]
def x_zx #

[View source]
def x_zy #

[View source]
def x_zz #

[View source]
def xx #

[View source]
def xx_x #

[View source]
def xx_y #

[View source]
def xx_z #

[View source]
def xxx #

[View source]
def xxy #

[View source]
def xxz #

[View source]
def xy #

[View source]
def xy_x #

[View source]
def xy_y #

[View source]
def xy_z #

[View source]
def xyx #

[View source]
def xyy #

[View source]
def xyz #

[View source]
def xz #

[View source]
def xz_x #

[View source]
def xz_y #

[View source]
def xz_z #

[View source]
def xzx #

[View source]
def xzy #

[View source]
def xzz #

[View source]
def y_x #

[View source]
def y_x_x #

[View source]
def y_x_y #

[View source]
def y_x_z #

[View source]
def y_xx #

[View source]
def y_xy #

[View source]
def y_xz #

[View source]
def y_y #

[View source]
def y_y_x #

[View source]
def y_y_y #

[View source]
def y_y_z #

[View source]
def y_yx #

[View source]
def y_yy #

[View source]
def y_yz #

[View source]
def y_z #

[View source]
def y_z_x #

[View source]
def y_z_y #

[View source]
def y_z_z #

[View source]
def y_zx #

[View source]
def y_zy #

[View source]
def y_zz #

[View source]
def yx #

[View source]
def yx_x #

[View source]
def yx_y #

[View source]
def yx_z #

[View source]
def yxx #

[View source]
def yxy #

[View source]
def yxz #

[View source]
def yy #

[View source]
def yy_x #

[View source]
def yy_y #

[View source]
def yy_z #

[View source]
def yyx #

[View source]
def yyy #

[View source]
def yyz #

[View source]
def yz #

[View source]
def yz_x #

[View source]
def yz_y #

[View source]
def yz_z #

[View source]
def yzx #

[View source]
def yzy #

[View source]
def yzz #

[View source]
def z_x #

[View source]
def z_x_x #

[View source]
def z_x_y #

[View source]
def z_x_z #

[View source]
def z_xx #

[View source]
def z_xy #

[View source]
def z_xz #

[View source]
def z_y #

[View source]
def z_y_x #

[View source]
def z_y_y #

[View source]
def z_y_z #

[View source]
def z_yx #

[View source]
def z_yy #

[View source]
def z_yz #

[View source]
def z_z #

[View source]
def z_z_x #

[View source]
def z_z_y #

[View source]
def z_z_z #

[View source]
def z_zx #

[View source]
def z_zy #

[View source]
def z_zz #

[View source]
def zx #

[View source]
def zx_x #

[View source]
def zx_y #

[View source]
def zx_z #

[View source]
def zxx #

[View source]
def zxy #

[View source]
def zxz #

[View source]
def zy #

[View source]
def zy_x #

[View source]
def zy_y #

[View source]
def zy_z #

[View source]
def zyx #

[View source]
def zyy #

[View source]
def zyz #

[View source]
def zz #

[View source]
def zz_x #

[View source]
def zz_y #

[View source]
def zz_z #

[View source]
def zzx #

[View source]
def zzy #

[View source]
def zzz #

[View source]