Class: Astronoby::Geometric
- Inherits:
-
ReferenceFrame
- Object
- ReferenceFrame
- Astronoby::Geometric
- Defined in:
- lib/astronoby/reference_frames/geometric.rb
Overview
Geometric reference frame (BCRS). Represents a body’s position relative to the Solar System Barycenter, without any corrections applied.
Instance Attribute Summary
Attributes inherited from ReferenceFrame
#center, #instant, #position, #target_body, #velocity
Instance Method Summary collapse
-
#initialize(position:, velocity:, instant:, target_body:) ⇒ Geometric
constructor
A new instance of Geometric.
Methods inherited from ReferenceFrame
#distance, #ecliptic, #equatorial, #separation_from
Constructor Details
#initialize(position:, velocity:, instant:, target_body:) ⇒ Geometric
Returns a new instance of Geometric.
11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/astronoby/reference_frames/geometric.rb', line 11 def initialize( position:, velocity:, instant:, target_body: ) super( position: position, velocity: velocity, instant: instant, center: Center., target_body: target_body ) end |