Class: Mittsu::Spline::Point

Inherits:
Struct
  • Object
show all
Defined in:
lib/mittsu/math/spline.rb

Instance Attribute Summary collapse

Instance Attribute Details

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



3
4
5
# File 'lib/mittsu/math/spline.rb', line 3

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



3
4
5
# File 'lib/mittsu/math/spline.rb', line 3

def y
  @y
end

#zObject

Returns the value of attribute z

Returns:

  • (Object)

    the current value of z



3
4
5
# File 'lib/mittsu/math/spline.rb', line 3

def z
  @z
end