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.



30759
30760
30761
30762
# File 'lib/BuildingSync.rb', line 30759

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

Instance Attribute Details

#polyLoopObject

Returns the value of attribute polyLoop.



30737
30738
30739
# File 'lib/BuildingSync.rb', line 30737

def polyLoop
  @polyLoop
end

Instance Method Details

#__xmlattrObject



30739
30740
30741
# File 'lib/BuildingSync.rb', line 30739

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_idObject



30743
30744
30745
# File 'lib/BuildingSync.rb', line 30743

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



30747
30748
30749
# File 'lib/BuildingSync.rb', line 30747

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

#xmlattr_unitObject



30751
30752
30753
# File 'lib/BuildingSync.rb', line 30751

def xmlattr_unit
  __xmlattr[AttrUnit]
end

#xmlattr_unit=(value) ⇒ Object



30755
30756
30757
# File 'lib/BuildingSync.rb', line 30755

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