Record Class SignalReceptionCondition

java.lang.Object
java.lang.Record
org.orekit.signal.SignalReceptionCondition
Record Components:
receptionDate - Signal reception date.
receiverPosition - Receiver position's vector at signal reception.
referenceFrame - Frame where position is given.

public record SignalReceptionCondition(AbsoluteDate receptionDate, Vector3D receiverPosition, Frame referenceFrame) extends Record
Data container describing signal reception conditions.
Since:
14.0
Author:
Romain Serra
  • Constructor Details

    • SignalReceptionCondition

      public SignalReceptionCondition(AbsoluteDate receptionDate, Vector3D receiverPosition, Frame referenceFrame)
      Creates an instance of a SignalReceptionCondition record class.
      Parameters:
      receptionDate - the value for the receptionDate record component
      receiverPosition - the value for the receiverPosition record component
      referenceFrame - the value for the referenceFrame record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • receptionDate

      public AbsoluteDate receptionDate()
      Returns the value of the receptionDate record component.
      Returns:
      the value of the receptionDate record component
    • receiverPosition

      public Vector3D receiverPosition()
      Returns the value of the receiverPosition record component.
      Returns:
      the value of the receiverPosition record component
    • referenceFrame

      public Frame referenceFrame()
      Returns the value of the referenceFrame record component.
      Returns:
      the value of the referenceFrame record component