Class: BuildingSync::RectangularGeometry

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

Overview

http://www.gbxml.org/schemaRectangularGeometry

azimuth - SOAP::SOAPDouble
cartesianPoint - BuildingSync::CartesianPoint
tilt - SOAP::SOAPDouble
height - BuildingSync::Height
width - BuildingSync::Width
polyLoop - BuildingSync::PolyLoop
xmlattr_id - SOAP::SOAPID
xmlattr_unit - SOAP::SOAPNMTOKEN

Constant Summary collapse

AttrId =
XSD::QName.new(nil, "id")
AttrUnit =
XSD::QName.new(nil, "unit")

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(azimuth = [], cartesianPoint = [], tilt = [], height = [], width = [], polyLoop = []) ⇒ RectangularGeometry

Returns a new instance of RectangularGeometry.



31066
31067
31068
31069
31070
31071
31072
31073
31074
# File 'lib/BuildingSync.rb', line 31066

def initialize(azimuth = [], cartesianPoint = [], tilt = [], height = [], width = [], polyLoop = [])
  @azimuth = azimuth
  @cartesianPoint = cartesianPoint
  @tilt = tilt
  @height = height
  @width = width
  @polyLoop = polyLoop
  @__xmlattr = {}
end

Instance Attribute Details

#azimuthObject

Returns the value of attribute azimuth.



31039
31040
31041
# File 'lib/BuildingSync.rb', line 31039

def azimuth
  @azimuth
end

#cartesianPointObject

Returns the value of attribute cartesianPoint.



31040
31041
31042
# File 'lib/BuildingSync.rb', line 31040

def cartesianPoint
  @cartesianPoint
end

#heightObject

Returns the value of attribute height.



31042
31043
31044
# File 'lib/BuildingSync.rb', line 31042

def height
  @height
end

#polyLoopObject

Returns the value of attribute polyLoop.



31044
31045
31046
# File 'lib/BuildingSync.rb', line 31044

def polyLoop
  @polyLoop
end

#tiltObject

Returns the value of attribute tilt.



31041
31042
31043
# File 'lib/BuildingSync.rb', line 31041

def tilt
  @tilt
end

#widthObject

Returns the value of attribute width.



31043
31044
31045
# File 'lib/BuildingSync.rb', line 31043

def width
  @width
end

Instance Method Details

#__xmlattrObject



31046
31047
31048
# File 'lib/BuildingSync.rb', line 31046

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_idObject



31050
31051
31052
# File 'lib/BuildingSync.rb', line 31050

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



31054
31055
31056
# File 'lib/BuildingSync.rb', line 31054

def xmlattr_id=(value)
  __xmlattr[AttrId] = value
end

#xmlattr_unitObject



31058
31059
31060
# File 'lib/BuildingSync.rb', line 31058

def xmlattr_unit
  __xmlattr[AttrUnit]
end

#xmlattr_unit=(value) ⇒ Object



31062
31063
31064
# File 'lib/BuildingSync.rb', line 31062

def xmlattr_unit=(value)
  __xmlattr[AttrUnit] = value
end