public abstract class AbstractSolarIncidenceDetector extends AbstractSignalPropagationDetector
EventDetector,
Serialized FormAbstractSignalPropagationDetector.EventDatationType, AbstractSignalPropagationDetector.PropagationDelayTypeEventDetector.Action| Modifier and Type | Field and Description |
|---|---|
protected BodyShape |
bodyShape
The body shape.
|
protected double |
incidenceRef
The incidence to detect.
|
protected PVCoordinatesProvider |
sun
The sun.
|
actionAtEntry, actionAtExit, DEFAULT_MAXCHECK, DEFAULT_MAXITER, DEFAULT_THRESHOLD, removeAtEntry, removeAtExit, shouldBeRemovedFlagDECREASING, INCREASING, INCREASING_DECREASING| Constructor and Description |
|---|
AbstractSolarIncidenceDetector(double incidence,
BodyShape bodyShape,
double maxCheck,
double threshold)
Constructor for the nadir point solar incidence detector.
|
AbstractSolarIncidenceDetector(double incidence,
BodyShape bodyShape,
double maxCheck,
double threshold,
EventDetector.Action action)
Constructor for the nadir point solar incidence detector.
|
AbstractSolarIncidenceDetector(double incidence,
BodyShape bodyShape,
double maxCheck,
double threshold,
EventDetector.Action action,
boolean remove)
Constructor for the nadir point solar incidence detector.
|
AbstractSolarIncidenceDetector(double incidence,
BodyShape bodyShape,
double maxCheck,
double threshold,
EventDetector.Action action,
boolean remove,
PVCoordinatesProvider sun)
Constructor for the nadir point solar incidence detector with Sun choice.
|
AbstractSolarIncidenceDetector(int slopeSelectionIn,
double incidence,
BodyShape bodyShape,
double maxCheck,
double threshold,
EventDetector.Action actionAtIncreasing,
EventDetector.Action actionAtDecreasing,
boolean removeAtIncreasing,
boolean removeAtDecreasing,
PVCoordinatesProvider sun)
Constructor for the nadir point solar incidence detector with Sun choice.
|
| Modifier and Type | Method and Description |
|---|---|
EventDetector.Action |
eventOccurred(SpacecraftState s,
boolean increasing,
boolean forward)
Handle a solar incidence event and choose what to do next.
|
double |
g(SpacecraftState state)
Compute the value of the switching function.
|
BodyShape |
getBodyShape()
Getter for the body shape.
|
double |
getIncidence()
Getter for the incidence to detect.
|
abstract BodyPoint |
getInterestPoint(SpacecraftState state)
Define the interest point.
|
PVCoordinatesProvider |
getSun()
Getter for the sun.
|
getEmitter, getEpsilonSignalPropagation, getEventDatationType, getInertialFrame, getLinkTypeHandler, getMaxIterSignalPropagation, getOtherDate, getPropagationDelayType, getReceiver, getSignalEmissionDate, getSignalEmissionDate, getSignalReceptionDate, getSignalReceptionDate, setEpsilonSignalPropagation, setMaxIterSignalPropagation, setPropagationDelayTypefilterEvent, getActionAtEntry, getActionAtExit, getMaxCheckInterval, getMaxIterationCount, getSlopeSelection, getThreshold, init, isRemoveAtEntry, isRemoveAtExit, logEventsOverTimeInterval, resetState, setMaxCheckInterval, setMaxIter, shouldBeRemovedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopyprotected final double incidenceRef
protected final BodyShape bodyShape
protected final PVCoordinatesProvider sun
public AbstractSolarIncidenceDetector(double incidence,
BodyShape bodyShape,
double maxCheck,
double threshold)
throws PatriusException
The default implementation behavior is to stop propagation when the local time
is reached.
incidence - The incidence to detect (set 0. to detect the terminator)bodyShape - The body shapemaxCheck - Maximum check (see AbstractDetector)threshold - Threshold (see AbstractDetector)PatriusException - if there is an error when loading the ephemeris filespublic AbstractSolarIncidenceDetector(double incidence,
BodyShape bodyShape,
double maxCheck,
double threshold,
EventDetector.Action action)
throws PatriusException
incidence - The incidence to detect (set 0. to detect the terminator)bodyShape - The body shapemaxCheck - Maximum check (see AbstractDetector)threshold - Threshold (see AbstractDetector)action - Action performed at nadir point solar incidence detectionPatriusException - if there is an error when loading the ephemeris filespublic AbstractSolarIncidenceDetector(double incidence,
BodyShape bodyShape,
double maxCheck,
double threshold,
EventDetector.Action action,
boolean remove)
throws PatriusException
incidence - The incidence to detect (set 0. to detect the terminator)bodyShape - The body shapemaxCheck - Maximum check (see AbstractDetector)threshold - Threshold (see AbstractDetector)action - Action performed at nadir point solar incidence detectionremove - True if detector should be removed at nadir point solar incidence detectionPatriusException - if there is an error when loading the ephemeris filespublic AbstractSolarIncidenceDetector(double incidence,
BodyShape bodyShape,
double maxCheck,
double threshold,
EventDetector.Action action,
boolean remove,
PVCoordinatesProvider sun)
incidence - The incidence to detect (set 0. to detect the terminator)bodyShape - The body shapemaxCheck - Maximum check (see AbstractDetector)threshold - Threshold (see AbstractDetector)action - Action performed at nadir point solar incidence detectionremove - True if detector should be removed at nadir point solar incidence detectionsun - The sunpublic AbstractSolarIncidenceDetector(int slopeSelectionIn,
double incidence,
BodyShape bodyShape,
double maxCheck,
double threshold,
EventDetector.Action actionAtIncreasing,
EventDetector.Action actionAtDecreasing,
boolean removeAtIncreasing,
boolean removeAtDecreasing,
PVCoordinatesProvider sun)
slopeSelectionIn - The g-function slope selection (0, 1 or 2)incidence - The incidence to detect (set 0. to detect the terminator)bodyShape - The body shapemaxCheck - Maximum check (see AbstractDetector)threshold - Threshold (see AbstractDetector)actionAtIncreasing - Action performed at nadir point solar incidence detection at increasing g eventactionAtDecreasing - Action performed at nadir point solar incidence detection at decreasing g eventremoveAtIncreasing - True if detector should be removed at nadir point solar incidence detection at increasing g eventremoveAtDecreasing - True if detector should be removed at nadir point solar incidence detection at decreasing g eventsun - The sunpublic double g(SpacecraftState state) throws PatriusException
g in interface EventDetectorg in class AbstractDetectorstate - the current state information: date, kinematics, attitude for forces and events
computation, mass provider, and additional statesPatriusException - if some specific error occurspublic abstract BodyPoint getInterestPoint(SpacecraftState state) throws PatriusException
state - the current state informationPatriusException - if some specific error occurspublic EventDetector.Action eventOccurred(SpacecraftState s, boolean increasing, boolean forward) throws PatriusException
eventOccurred in interface EventDetectoreventOccurred in class AbstractDetectors - the current state information : date, kinematics, attitudeincreasing - if true, the value of the switching function increases when time increases around eventforward - if true, the integration variable (time) increases during integration.PatriusException - if some specific error occurspublic double getIncidence()
public BodyShape getBodyShape()
public PVCoordinatesProvider getSun()
Copyright © 2025 CNES. All rights reserved.