Class: Idml::Geometry::Transform

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

Overview

2D affine transform: [a, b, c, d, e, f] representing x' = ax + cy + e y' = bx + dy + f

Instance Attribute Summary collapse

Instance Attribute Details

#aObject

Returns the value of attribute a

Returns:

  • (Object)

    the current value of a



15
16
17
# File 'lib/idml/geometry.rb', line 15

def a
  @a
end

#bObject

Returns the value of attribute b

Returns:

  • (Object)

    the current value of b



15
16
17
# File 'lib/idml/geometry.rb', line 15

def b
  @b
end

#cObject

Returns the value of attribute c

Returns:

  • (Object)

    the current value of c



15
16
17
# File 'lib/idml/geometry.rb', line 15

def c
  @c
end

#dObject

Returns the value of attribute d

Returns:

  • (Object)

    the current value of d



15
16
17
# File 'lib/idml/geometry.rb', line 15

def d
  @d
end

#eObject

Returns the value of attribute e

Returns:

  • (Object)

    the current value of e



15
16
17
# File 'lib/idml/geometry.rb', line 15

def e
  @e
end

#fObject

Returns the value of attribute f

Returns:

  • (Object)

    the current value of f



15
16
17
# File 'lib/idml/geometry.rb', line 15

def f
  @f
end