public final class DotProductDetector extends AbstractDetector
EventDetector.ActionactionAtEntry, actionAtExit, DEFAULT_MAXCHECK, DEFAULT_MAXITER, DEFAULT_THRESHOLD, removeAtEntry, removeAtExit, shouldBeRemovedFlagDECREASING, INCREASING, INCREASING_DECREASING| Constructor and Description |
|---|
DotProductDetector(IDirection target,
boolean normalizePos,
boolean normalizeTarget,
double dotProduct,
Frame projectionFrame,
int slopeSelectionIn)
Constructor for an DotProductPassageDetector instance.
|
DotProductDetector(IDirection target,
boolean normalizePos,
boolean normalizeTarget,
double dotProduct,
Frame projectionFrame,
int slopeSelectionIn,
double maxCheck,
double threshold)
Constructor for an DotProductPassageDetector instance with complementary parameters.
|
DotProductDetector(IDirection target,
boolean normalizePos,
boolean normalizeTarget,
double dotProduct,
Frame projectionFrame,
int slopeSelectionIn,
double maxCheck,
double threshold,
EventDetector.Action ascending,
EventDetector.Action descending)
Constructor for an DotProductPassageDetector instance with complementary parameters.
|
DotProductDetector(IDirection referenceDirection,
IDirection targetDirection,
boolean normalizePos,
boolean normalizeTarget,
double dotProduct,
Frame projectionFrame,
int slopeSelectionIn,
double maxCheck,
double threshold,
EventDetector.Action ascending,
EventDetector.Action descending)
Constructor for an DotProductPassageDetector instance with complementary parameters.
|
DotProductDetector(PVCoordinatesProvider target,
boolean normalizePos,
boolean normalizeTarget,
double dotProduct,
Frame projectionFrame,
int slopeSelectionIn)
Constructor for an DotProductPassageDetector instance.
|
DotProductDetector(PVCoordinatesProvider target,
boolean normalizePos,
boolean normalizeTarget,
double dotProduct,
Frame projectionFrame,
int slopeSelectionIn,
double maxCheck,
double threshold)
Constructor for an DotProductPassageDetector instance with complementary parameters.
|
DotProductDetector(PVCoordinatesProvider target,
boolean normalizePos,
boolean normalizeTarget,
double dotProduct,
Frame projectionFrame,
int slopeSelectionIn,
double maxCheck,
double threshold,
EventDetector.Action ascending,
EventDetector.Action descending)
Constructor for an DotProductPassageDetector instance with complementary parameters.
|
| Modifier and Type | Method and Description |
|---|---|
EventDetector |
copy()
A copy of the detector.
|
EventDetector.Action |
eventOccurred(SpacecraftState s,
boolean increasing,
boolean forward)
Handle an angular momentum excess event and choose what to do next.
|
double |
g(SpacecraftState s)
Compute the value of the switching function.
|
filterEvent, getActionAtEntry, getActionAtExit, getMaxCheckInterval, getMaxIterationCount, getSlopeSelection, getThreshold, init, isRemoveAtEntry, isRemoveAtExit, logEventsOverTimeInterval, resetState, setMaxCheckInterval, setMaxIter, shouldBeRemovedpublic DotProductDetector(PVCoordinatesProvider target, boolean normalizePos, boolean normalizeTarget, double dotProduct, Frame projectionFrame, int slopeSelectionIn)
target - second coordinates provider.normalizePos - first coordinates normalize.normalizeTarget - second coordinates normalize.dotProduct - threshold value of the dot productprojectionFrame - frame with respect to which the vectors are projectedslopeSelectionIn - g-function slope selection (0, 1, or 2)public DotProductDetector(PVCoordinatesProvider target, boolean normalizePos, boolean normalizeTarget, double dotProduct, Frame projectionFrame, int slopeSelectionIn, double maxCheck, double threshold)
target - second coordinates provider.normalizePos - first coordinates normalize.normalizeTarget - second coordinates normalize.dotProduct - threshold value of the dot productprojectionFrame - frame with respect to which the vectors are projectedslopeSelectionIn - g-function slope selection (0, 1, or 2)maxCheck - maximum check (see AbstractDetector)threshold - threshold (see AbstractDetector)public DotProductDetector(PVCoordinatesProvider target, boolean normalizePos, boolean normalizeTarget, double dotProduct, Frame projectionFrame, int slopeSelectionIn, double maxCheck, double threshold, EventDetector.Action ascending, EventDetector.Action descending)
target - second coordinates provider.normalizePos - first coordinates normalize.normalizeTarget - second coordinates normalize.dotProduct - threshold value of the dot productprojectionFrame - frame with respect to which the vectors are projectedmaxCheck - maximum check (see AbstractDetector)threshold - threshold (see AbstractDetector)slopeSelectionIn - g-function slope selection (0, 1, or 2)ascending - action performed when ascendingdescending - action performed when descendingpublic DotProductDetector(IDirection target, boolean normalizePos, boolean normalizeTarget, double dotProduct, Frame projectionFrame, int slopeSelectionIn)
target - second coordinates provider.normalizePos - first coordinates normalize.normalizeTarget - second coordinates normalize.dotProduct - threshold value of the dot productprojectionFrame - frame with respect to which the vectors are projectedslopeSelectionIn - g-function slope selection (0, 1, or 2)public DotProductDetector(IDirection target, boolean normalizePos, boolean normalizeTarget, double dotProduct, Frame projectionFrame, int slopeSelectionIn, double maxCheck, double threshold)
target - second coordinates provider.normalizePos - first coordinates normalize.normalizeTarget - second coordinates normalize.dotProduct - threshold value of the dot productprojectionFrame - frame with respect to which the vectors are projectedslopeSelectionIn - g-function slope selection (0, 1, or 2)maxCheck - maximum check (see AbstractDetector)threshold - threshold (see AbstractDetector)public DotProductDetector(IDirection target, boolean normalizePos, boolean normalizeTarget, double dotProduct, Frame projectionFrame, int slopeSelectionIn, double maxCheck, double threshold, EventDetector.Action ascending, EventDetector.Action descending)
target - second coordinates provider.normalizePos - first coordinates normalize.normalizeTarget - second coordinates normalize.dotProduct - threshold value of the dot productprojectionFrame - frame with respect to which the vectors are projectedmaxCheck - maximum check (see AbstractDetector)threshold - threshold (see AbstractDetector)slopeSelectionIn - g-function slope selection (0, 1, or 2)ascending - action performed when ascendingdescending - action performed when descendingpublic DotProductDetector(IDirection referenceDirection, IDirection targetDirection, boolean normalizePos, boolean normalizeTarget, double dotProduct, Frame projectionFrame, int slopeSelectionIn, double maxCheck, double threshold, EventDetector.Action ascending, EventDetector.Action descending)
referenceDirection - first coordinates provider.targetDirection - second coordinates provider.normalizePos - first coordinates normalize.normalizeTarget - second coordinates normalize.dotProduct - threshold value of the dot productprojectionFrame - frame with respect to which the vectors are projectedmaxCheck - maximum check (see AbstractDetector)threshold - threshold (see AbstractDetector)slopeSelectionIn - g-function slope selection (0, 1, or 2)ascending - action performed when ascendingdescending - action performed when descendingpublic final 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 times increases around
eventforward - if true, the integration variable (time) increases during integration.PatriusException - if some specific error occurspublic final double g(SpacecraftState s) throws PatriusException
g in interface EventDetectorg in class AbstractDetectors - the current state information: date, kinematics, attitude for forces and events
computation, mass provider, and additional statesPatriusException - if some specific error occurspublic EventDetector copy()
Copyright © 2025 CNES. All rights reserved.