Class FieldLatitudeCrossingDetector<T extends CalculusFieldElement<T>>

Type Parameters:
T - type of the field elements
All Implemented Interfaces:
FieldEventDetector<T>

public class FieldLatitudeCrossingDetector<T extends CalculusFieldElement<T>> extends FieldAbstractGeographicalDetector<FieldLatitudeCrossingDetector<T>,T>
Detector for geographic latitude crossing.

This detector identifies when a spacecraft crosses a fixed latitude with respect to a central body.

Since:
9.3
Author:
Luc Maisonobe, Evan Ward
  • Constructor Details

    • FieldLatitudeCrossingDetector

      public FieldLatitudeCrossingDetector(Field<T> field, BodyShape body, double latitude)
      Build a new detector.

      The new instance uses default values for maximal checking interval (FieldAbstractDetector.DEFAULT_MAX_CHECK) and convergence threshold (FieldAbstractDetector.DEFAULT_THRESHOLD).

      Parameters:
      field - the type of numbers to use.
      body - body on which the latitude is defined
      latitude - latitude to be crossed
    • FieldLatitudeCrossingDetector

      public FieldLatitudeCrossingDetector(T maxCheck, T threshold, BodyShape body, double latitude)
      Build a detector.
      Parameters:
      maxCheck - maximal checking interval (s)
      threshold - convergence threshold (s)
      body - body on which the latitude is defined
      latitude - latitude to be crossed
    • FieldLatitudeCrossingDetector

      public FieldLatitudeCrossingDetector(FieldEventDetectionSettings<T> detectionSettings, FieldEventHandler<T> handler, BodyShape body, double latitude)
      Constructor with input detection setting and handler.
      Parameters:
      detectionSettings - event detection settings
      handler - event handler to call at event occurrences
      body - body on which the latitude is defined
      latitude - latitude to be crossed
      Since:
      13.0
    • FieldLatitudeCrossingDetector

      protected FieldLatitudeCrossingDetector(LatitudeValueCrossingFunction eventFunction, FieldEventDetectionSettings<T> detectionSettings, FieldEventHandler<T> handler, BodyShape body)
      Protected constructor with full parameters.

      This constructor is not public as users are expected to use the builder API with the various withXxx() methods to set up the instance in a readable manner without using a huge amount of parameters.

      Parameters:
      eventFunction - event function
      detectionSettings - event detection settings
      handler - event handler to call at event occurrences
      body - body on which the latitude is defined
      Since:
      14.0
  • Method Details