Class: BuildingSync::PlanarGeometry

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

Overview

http://www.gbxml.org/schemaPlanarGeometry

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(polyLoop = []) ⇒ PlanarGeometry

Returns a new instance of PlanarGeometry.



31284
31285
31286
31287
# File 'lib/BuildingSync.rb', line 31284

def initialize(polyLoop = [])
  @polyLoop = polyLoop
  @__xmlattr = {}
end

Instance Attribute Details

#polyLoopObject

Returns the value of attribute polyLoop.



31262
31263
31264
# File 'lib/BuildingSync.rb', line 31262

def polyLoop
  @polyLoop
end

Instance Method Details

#__xmlattrObject



31264
31265
31266
# File 'lib/BuildingSync.rb', line 31264

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_idObject



31268
31269
31270
# File 'lib/BuildingSync.rb', line 31268

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



31272
31273
31274
# File 'lib/BuildingSync.rb', line 31272

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

#xmlattr_unitObject



31276
31277
31278
# File 'lib/BuildingSync.rb', line 31276

def xmlattr_unit
  __xmlattr[AttrUnit]
end

#xmlattr_unit=(value) ⇒ Object



31280
31281
31282
# File 'lib/BuildingSync.rb', line 31280

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