Class NodeEventFunction

java.lang.Object
org.orekit.propagation.events.functions.NodeEventFunction
All Implemented Interfaces:
EventFunction

public class NodeEventFunction extends Object implements EventFunction
Node crossing event function. It computes the Z position in the reference frame.
Since:
14.0
Author:
Romain Serra
  • Constructor Details

    • NodeEventFunction

      public NodeEventFunction(Frame frame)
      Constructor.
      Parameters:
      frame - reference frame for node definition
  • Method Details

    • value

      public double value(SpacecraftState state)
      Description copied from interface: EventFunction
      Evaluate function.
      Specified by:
      value in interface EventFunction
      Parameters:
      state - spacecraft state
      Returns:
      value
    • value

      public <T extends CalculusFieldElement<T>> T value(FieldSpacecraftState<T> fieldState)
      Description copied from interface: EventFunction
      Evaluate Field function. By default, calls the non-Field version. This is suitable for detection but not be for applications like automatic differentiation, where a proper implementation should be used instead.
      Specified by:
      value in interface EventFunction
      Type Parameters:
      T - field type
      Parameters:
      fieldState - spacecraft state
      Returns:
      value
    • getFrame

      public Frame getFrame()
      Getter for the frame.
      Returns:
      frame