Class: VORuby::STC::V1_30::IcrsType

Inherits:
SpaceRefFrameType show all
Defined in:
lib/voruby/stc/1.30/stc.rb

Overview

ICRS type: no equinox

Instance Attribute Summary

Attributes inherited from CoordRefFrameType

#name, #ref_frame_id

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from SpaceRefFrameType

space_ref_frame_from_xml

Methods inherited from CoordRefFrameType

#==, coord_ref_frame_from_xml, #initialize

Methods included from SerializableToXml

#element

Constructor Details

This class inherits a constructor from VORuby::STC::V1_30::CoordRefFrameType

Class Method Details

.from_xml(xml) ⇒ Object



6481
6482
6483
6484
# File 'lib/voruby/stc/1.30/stc.rb', line 6481

def self.from_xml(xml)
  root = element_from(xml)
  self.new(*icrs_from_xml(root))
end

.icrs_from_xml(root) ⇒ Object



6477
6478
6479
# File 'lib/voruby/stc/1.30/stc.rb', line 6477

def self.icrs_from_xml(root)
  SpaceRefFrameType.space_ref_frame_from_xml(root)
end

Instance Method Details

#to_xml(name = nil) ⇒ Object



6473
6474
6475
# File 'lib/voruby/stc/1.30/stc.rb', line 6473

def to_xml(name=nil)
  super(name)
end