Class: VORuby::STC::V1_10::STC::PixelCoordFrame
- Inherits:
-
CoordFrameType
- Object
- CoordFrameType
- VORuby::STC::V1_10::STC::PixelCoordFrame
- Includes:
- CoordFrame
- Defined in:
- lib/voruby/stc/1.10/stc.rb
Overview
Element for pixel Coordinate Frames
Instance Attribute Summary
Attributes inherited from CoordFrameType
Class Method Summary collapse
Methods included from SerializableToXml
Methods inherited from CoordFrameType
Constructor Details
This class inherits a constructor from VORuby::STC::V1_10::STC::CoordFrameType
Class Method Details
.from_xml(xml) ⇒ Object
1403 1404 1405 1406 1407 1408 1409 1410 1411 |
# File 'lib/voruby/stc/1.10/stc.rb', line 1403 def self.from_xml(xml) root = element_from(xml) = {} name = REXML::XPath.first(root, 'x:Name', {'x' => obj_ns.uri}) [:name] = name.text if name PixelCoordFrame.new() end |