public class GtmCommonData extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEF_MAX_ITER
By default maximum amount of iteration
|
static double |
DEF_POS_TOL
By default maximum position tolerance (m)
|
protected int |
maxIter
Maximum number of iterations for fitting
|
protected GtmBuildingMethods |
method
Type of method to use (Differential or LevenbergMarquardt)
|
protected boolean |
positionOnly
Only position precision research if true
|
protected double |
posTol
Position precision (m)
|
protected boolean |
withBStar
Using drag evaluation if true
|
| Constructor and Description |
|---|
GtmCommonData()
Constructor without arguments (so, using by default values).
|
GtmCommonData(double posTol,
boolean positionOnly,
boolean withBStar,
GtmBuildingMethods type,
int maxIter)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxIter()
method to get the maximum amount of iterations
|
GtmBuildingMethods |
getMethod()
Method to get the type of method to use (Differential or LevenbergMarquardt)
|
double |
getPosTol()
Method to get the position tolerance
|
boolean |
isPositionOnly()
Method to know if criteria only in position is selected.
|
boolean |
isWithBStar()
Method to know if BStar is used.
|
void |
setMaxIter(int iterMax)
Method to set the maximum amount of iterations.
|
void |
setMethod(GtmBuildingMethods type)
Method to set the TLE method.
|
void |
setPositionOnly(boolean onlyPosition)
Method to set the criteria "only in position".
|
void |
setPosTol(double tolerance)
Method to set the position tolerance.
|
void |
setWithBStar(boolean isWithBStar)
Method to set the criteria "using BStar".
|
public static final int DEF_MAX_ITER
public static final double DEF_POS_TOL
protected double posTol
protected boolean positionOnly
protected boolean withBStar
protected GtmBuildingMethods method
protected int maxIter
public GtmCommonData()
public GtmCommonData(double posTol,
boolean positionOnly,
boolean withBStar,
GtmBuildingMethods type,
int maxIter)
posTol - Position precision (m)positionOnly - Only position precision research if truewithBStar - Using drag evaluation if truetype - Type of method to use (Differential or LevenbergMarquardt)maxIter - Maximum number of iterations for fittingpublic void setPosTol(double tolerance)
tolerance - position tolerance (m)public void setPositionOnly(boolean onlyPosition)
onlyPosition - criteria "only in position"public void setWithBStar(boolean isWithBStar)
isWithBStar - criteria "using BStar"public void setMethod(GtmBuildingMethods type)
type - TLE methodpublic void setMaxIter(int iterMax)
iterMax - maximum amount of iterationspublic double getPosTol()
public boolean isPositionOnly()
public boolean isWithBStar()
public GtmBuildingMethods getMethod()
public int getMaxIter()
Copyright © 2022. All rights reserved.