Class: Mlr::AnchorPoint3D

Inherits:
Struct
  • Object
show all
Defined in:
lib/mlr.rb

Overview

define point struct it is used everywhere

Instance Attribute Summary collapse

Instance Attribute Details

#distanceObject

Returns the value of attribute distance

Returns:

  • (Object)

    the current value of distance



9
10
11
# File 'lib/mlr.rb', line 9

def distance
  @distance
end

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



9
10
11
# File 'lib/mlr.rb', line 9

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



9
10
11
# File 'lib/mlr.rb', line 9

def y
  @y
end

#zObject

Returns the value of attribute z

Returns:

  • (Object)

    the current value of z



9
10
11
# File 'lib/mlr.rb', line 9

def z
  @z
end