Class: VORuby::STC::V1_10::STC::GenericCoordFrame
- Inherits:
-
CoordFrameType
- Object
- CoordFrameType
- VORuby::STC::V1_10::STC::GenericCoordFrame
- Includes:
- CoordFrame
- Defined in:
- lib/voruby/stc/1.10/stc.rb
Overview
Element for generic 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
1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 |
# File 'lib/voruby/stc/1.10/stc.rb', line 1418 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 GenericCoordFrame.new() end |