Class PythonAbstractShortTermEncounter2DPOCMethod
- java.lang.Object
-
- org.orekit.ssa.collision.shorttermencounter.probability.twod.AbstractShortTermEncounter2DPOCMethod
-
- org.orekit.ssa.collision.shorttermencounter.probability.twod.PythonAbstractShortTermEncounter2DPOCMethod
-
- All Implemented Interfaces:
ShortTermEncounter2DPOCMethod
public class PythonAbstractShortTermEncounter2DPOCMethod extends AbstractShortTermEncounter2DPOCMethod
-
-
Field Summary
Fields Modifier and Type Field Description protected long
pythonObject
Part of JCC Python interface to object-
Fields inherited from class org.orekit.ssa.collision.shorttermencounter.probability.twod.AbstractShortTermEncounter2DPOCMethod
DEFAULT_TCA_DIFFERENCE_TOLERANCE
-
Fields inherited from interface org.orekit.ssa.collision.shorttermencounter.probability.twod.ShortTermEncounter2DPOCMethod
DEFAULT_ZERO_THRESHOLD
-
-
Constructor Summary
Constructors Constructor Description PythonAbstractShortTermEncounter2DPOCMethod(String name)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProbabilityOfCollision
compute(double xm, double ym, double sigmaX, double sigmaY, double radius)
Compute the probability of collision using arguments specific to the rotated encounter frame.<T extends CalculusFieldElement<T>>
FieldProbabilityOfCollision<T>compute(T xm, T ym, T sigmaX, T sigmaY, T radius)
Compute the probability of collision using arguments specific to the rotated encounter frame.void
finalize()
ShortTermEncounter2DPOCMethodType
getType()
Get type of the method.void
pythonDecRef()
long
pythonExtension()
void
pythonExtension(long pythonObject)
-
Methods inherited from class org.orekit.ssa.collision.shorttermencounter.probability.twod.AbstractShortTermEncounter2DPOCMethod
compute, compute, compute, compute, compute, compute, getName, getObjectOrbitFromCdm, getObjectStateCovarianceFromCdm, isAMaximumProbabilityOfCollisionMethod
-
-
-
-
Constructor Detail
-
PythonAbstractShortTermEncounter2DPOCMethod
public PythonAbstractShortTermEncounter2DPOCMethod(String name)
Constructor.- Parameters:
name
- name of the method
-
-
Method Detail
-
pythonExtension
public void pythonExtension(long pythonObject)
-
pythonExtension
public long pythonExtension()
-
finalize
public void finalize() throws Throwable
-
pythonDecRef
public void pythonDecRef()
-
compute
public ProbabilityOfCollision compute(double xm, double ym, double sigmaX, double sigmaY, double radius)
Description copied from class:AbstractShortTermEncounter2DPOCMethod
Compute the probability of collision using arguments specific to the rotated encounter frame.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.- Specified by:
compute
in interfaceShortTermEncounter2DPOCMethod
- Specified by:
compute
in classAbstractShortTermEncounter2DPOCMethod
- Parameters:
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)- Returns:
- probability of collision
-
compute
public <T extends CalculusFieldElement<T>> FieldProbabilityOfCollision<T> compute(T xm, T ym, T sigmaX, T sigmaY, T radius)
Description copied from class:AbstractShortTermEncounter2DPOCMethod
Compute the probability of collision using arguments specific to the rotated encounter frame.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.- Specified by:
compute
in interfaceShortTermEncounter2DPOCMethod
- Specified by:
compute
in classAbstractShortTermEncounter2DPOCMethod
- Type Parameters:
T
- type of the field elements- Parameters:
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)- Returns:
- probability of collision
-
getType
public ShortTermEncounter2DPOCMethodType getType()
Description copied from interface:ShortTermEncounter2DPOCMethod
Get type of the method.- Returns:
- type of the method
-
-