Class PlaneCrossingFunction
java.lang.Object
org.orekit.propagation.events.functions.PlaneCrossingFunction
- All Implemented Interfaces:
EventFunction
Event function for crossing a 2D plane in 3D space, as defined by a normal vector.
The plane is assumed to contain the origin of the frame where the normal's coordinates are given.
The event function is negative under the plane according to the normal's orientation.
- Since:
- 14.0
- Author:
- Romain Serra
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for the plane frame.Getter for the plane normal vector.<T extends CalculusFieldElement<T>>
Tvalue(FieldSpacecraftState<T> fieldState) Evaluate Field function.doublevalue(SpacecraftState state) Evaluate function.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.propagation.events.functions.EventFunction
dependsOnMainVariablesOnly, dependsOnTimeOnly
-
Constructor Details
-
PlaneCrossingFunction
Constructor.- Parameters:
normal- plane normalframe- plane frame
-
-
Method Details
-
getPlaneFrame
Getter for the plane frame.- Returns:
- frame
-
getPlaneNormal
Getter for the plane normal vector.- Returns:
- normal
-
value
Description copied from interface:EventFunctionEvaluate function.- Specified by:
valuein interfaceEventFunction- Parameters:
state- spacecraft state- Returns:
- value
-
value
Description copied from interface:EventFunctionEvaluate 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:
valuein interfaceEventFunction- Type Parameters:
T- field type- Parameters:
fieldState- spacecraft state- Returns:
- value
-