Class: TencentCloud::Weilingwith::V20230427::ElementTranslate

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20230427/models.rb

Overview

构件平移信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(x = nil, y = nil, z = nil) ⇒ ElementTranslate

Returns a new instance of ElementTranslate.



5539
5540
5541
5542
5543
# File 'lib/v20230427/models.rb', line 5539

def initialize(x=nil, y=nil, z=nil)
  @X = x
  @Y = y
  @Z = z
end

Instance Attribute Details

#XObject

Parameters:

  • X:

    X方向偏移量

  • Y:

    Y方向偏移量

  • Z:

    Z方向偏移量



5537
5538
5539
# File 'lib/v20230427/models.rb', line 5537

def X
  @X
end

#YObject

Parameters:

  • X:

    X方向偏移量

  • Y:

    Y方向偏移量

  • Z:

    Z方向偏移量



5537
5538
5539
# File 'lib/v20230427/models.rb', line 5537

def Y
  @Y
end

#ZObject

Parameters:

  • X:

    X方向偏移量

  • Y:

    Y方向偏移量

  • Z:

    Z方向偏移量



5537
5538
5539
# File 'lib/v20230427/models.rb', line 5537

def Z
  @Z
end

Instance Method Details

#deserialize(params) ⇒ Object



5545
5546
5547
5548
5549
# File 'lib/v20230427/models.rb', line 5545

def deserialize(params)
  @X = params['X']
  @Y = params['Y']
  @Z = params['Z']
end