Class: VORuby::STC::V1_10::Coords::AstroCoordsType

Inherits:
CoordsType
  • Object
show all
Defined in:
lib/voruby/stc/1.10/coords.rb

Overview

The astronomical (STC) coordsType

Direct Known Subclasses

AstroCoords

Instance Attribute Summary collapse

Attributes inherited from CoordsType

#coord_system_id, #coordinates

Instance Method Summary collapse

Methods inherited from CoordsType

#initialize

Constructor Details

This class inherits a constructor from VORuby::STC::V1_10::Coords::CoordsType

Instance Attribute Details

#coord_fileObject

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

#positionObject

Returns the value of attribute position.



2139
2140
2141
# File 'lib/voruby/stc/1.10/coords.rb', line 2139

def position
  @position
end

#redshiftObject

Returns the value of attribute redshift.



2139
2140
2141
# File 'lib/voruby/stc/1.10/coords.rb', line 2139

def redshift
  @redshift
end

#spectralObject

Returns the value of attribute spectral.



2139
2140
2141
# File 'lib/voruby/stc/1.10/coords.rb', line 2139

def spectral
  @spectral
end

#timeObject

Returns the value of attribute time.



2139
2140
2141
# File 'lib/voruby/stc/1.10/coords.rb', line 2139

def time
  @time
end

#velocityObject

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