public class Patera2005 extends AbstractShortTermEncounter1DNumerical2DPOCMethod
It is one of the recommended methods to use.
It assumes :
DEFAULT_TCA_DIFFERENCE_TOLERANCE
DEFAULT_ZERO_THRESHOLD
Constructor and Description |
---|
Patera2005()
Default constructor built with the following trapezoid integrator:
Minimal iteration count of 5
Maximum iteration count of 50000
.
|
Patera2005(org.hipparchus.analysis.integration.UnivariateIntegrator integrator,
int maxNbOfEval)
Customizable constructor.
|
Modifier and Type | Method and Description |
---|---|
ProbabilityOfCollision |
compute(double xm,
double ym,
double sigmaX,
double sigmaY,
double radius,
org.hipparchus.analysis.integration.UnivariateIntegrator integrator,
int customMaxNbOfEval)
Compute the probability of collision using arguments specific to the rotated encounter frame and custom numerical
configuration.
|
<T extends org.hipparchus.CalculusFieldElement<T>> |
compute(T xm,
T ym,
T sigmaX,
T sigmaY,
T radius,
org.hipparchus.analysis.integration.FieldUnivariateIntegrator<T> customIntegrator,
int customMaxNbOfEval)
Compute the probability of collision using arguments specific to the rotated encounter frame and custom numerical
configuration.
|
ShortTermEncounter2DPOCMethodType |
getType()
Get type of the method.
|
compute, compute, compute, compute, compute, compute, compute, compute
compute, compute, compute, compute, compute, compute, getName, getObjectOrbitFromCdm, getObjectStateCovarianceFromCdm, isAMaximumProbabilityOfCollisionMethod
public Patera2005()
public Patera2005(org.hipparchus.analysis.integration.UnivariateIntegrator integrator, int maxNbOfEval)
integrator
- integratormaxNbOfEval
- max number of evaluationpublic ProbabilityOfCollision compute(double xm, double ym, double sigmaX, double sigmaY, double radius, org.hipparchus.analysis.integration.UnivariateIntegrator integrator, int customMaxNbOfEval)
The rotated encounter frame is define by the initial encounter frame (defined in
ShortTermEncounter2DDefinition
) rotated by the rotation matrix which is used to diagonalize the combined
covariance matrix.
compute
in class AbstractShortTermEncounter1DNumerical2DPOCMethod
xm
- other collision object projected position onto the collision plane in the rotated encounter frame x-axis
(m)ym
- other collision object projected position onto the collision plane in the rotated encounter frame y-axis
(m)sigmaX
- square root of the x-axis eigen value of the diagonalized combined covariance matrix projected onto the
collision plane (m)sigmaY
- square root of the y-axis eigen value of the diagonalized combined covariance matrix projected onto the
collision plane (m)radius
- sum of primary and secondary collision object equivalent sphere radii (m)integrator
- custom integrator to use in place of the integrator from the constructorcustomMaxNbOfEval
- custom maximum number of evaluations to use in place of the custom maximum number from the
constructorpublic <T extends org.hipparchus.CalculusFieldElement<T>> FieldProbabilityOfCollision<T> compute(T xm, T ym, T sigmaX, T sigmaY, T radius, org.hipparchus.analysis.integration.FieldUnivariateIntegrator<T> customIntegrator, int customMaxNbOfEval)
The rotated encounter frame is define by the initial encounter frame (defined in
ShortTermEncounter2DDefinition
) rotated by the rotation matrix which is used to diagonalize the combined
covariance matrix.
compute
in class AbstractShortTermEncounter1DNumerical2DPOCMethod
T
- type of the field elementxm
- other collision object projected position onto the collision plane in the rotated encounter frame x-axis
(m)ym
- other collision object projected position onto the collision plane in the rotated encounter frame y-axis
(m)sigmaX
- square root of the x-axis eigen value of the diagonalized combined covariance matrix projected onto the
collision plane (m)sigmaY
- square root of the y-axis eigen value of the diagonalized combined covariance matrix projected onto the
collision plane (m)radius
- sum of primary and secondary collision object equivalent sphere radii (m)customIntegrator
- custom integrator to use in place of the integrator from the constructorcustomMaxNbOfEval
- custom maximum number of evaluations to use in place of the custom maximum number from the
constructorpublic ShortTermEncounter2DPOCMethodType getType()
Copyright © 2002-2023 CS GROUP. All rights reserved.