Module: Adiwg_Point
- Defined in:
- lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_point.rb
Class Method Summary collapse
Class Method Details
.unpack(aCoords, geoType) ⇒ Object
14 15 16 17 18 19 20 21 22 23 |
# File 'lib/adiwg/mdtranslator/readers/adiwgJson/modules_0.9.0/module_point.rb', line 14 def self.unpack(aCoords,geoType) intMetadataClass = InternalMetadata.new intPoint = intMetadataClass.newGeometry intPoint[:geoType] = geoType intPoint[:geometry] = aCoords intPoint[:dimension] = Adiwg_Coordinates.getDimension(aCoords) return intPoint end |