Class: VORuby::STC::V1_10::Coords::AstroCoordsType
- Inherits:
-
CoordsType
- Object
- CoordsType
- VORuby::STC::V1_10::Coords::AstroCoordsType
- Defined in:
- lib/voruby/stc/1.10/coords.rb
Overview
The astronomical (STC) coordsType
Direct Known Subclasses
Instance Attribute Summary collapse
-
#coord_file ⇒ Object
Returns the value of attribute coord_file.
-
#position ⇒ Object
Returns the value of attribute position.
-
#redshift ⇒ Object
Returns the value of attribute redshift.
-
#spectral ⇒ Object
Returns the value of attribute spectral.
-
#time ⇒ Object
Returns the value of attribute time.
-
#velocity ⇒ Object
Returns the value of attribute velocity.
Attributes inherited from CoordsType
#coord_system_id, #coordinates
Instance Method Summary collapse
Methods inherited from CoordsType
Constructor Details
This class inherits a constructor from VORuby::STC::V1_10::Coords::CoordsType
Instance Attribute Details
#coord_file ⇒ Object
Returns the value of attribute coord_file.
2139 2140 2141 |
# File 'lib/voruby/stc/1.10/coords.rb', line 2139 def coord_file @coord_file end |
#position ⇒ Object
Returns the value of attribute position.
2139 2140 2141 |
# File 'lib/voruby/stc/1.10/coords.rb', line 2139 def position @position end |
#redshift ⇒ Object
Returns the value of attribute redshift.
2139 2140 2141 |
# File 'lib/voruby/stc/1.10/coords.rb', line 2139 def redshift @redshift end |
#spectral ⇒ Object
Returns the value of attribute spectral.
2139 2140 2141 |
# File 'lib/voruby/stc/1.10/coords.rb', line 2139 def spectral @spectral end |
#time ⇒ Object
Returns the value of attribute time.
2139 2140 2141 |
# File 'lib/voruby/stc/1.10/coords.rb', line 2139 def time @time end |
#velocity ⇒ Object
Returns the value of attribute velocity.
2139 2140 2141 |
# File 'lib/voruby/stc/1.10/coords.rb', line 2139 def velocity @velocity end |
Instance Method Details
#==(c) ⇒ Object
2172 2173 2174 2175 2176 2177 2178 2179 2180 |
# File 'lib/voruby/stc/1.10/coords.rb', line 2172 def ==(c) super(c) and self.time == c.time and self.position == c.position and self.velocity == c.velocity and self.spectral == c.spectral and self.redshift == c.redshift and self.coord_file == c.coord_file end |