public class CdmRelativeMetadata extends Object
Constructor and Description |
---|
CdmRelativeMetadata()
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addComment(String comments)
Set comment for relative metadata.
|
void |
checkNotNull(Object field,
Enum<?> key)
Complain if a field is null.
|
double |
getCollisionProbability()
Get the probability (between 0.0 and 1.0) that Object1 and Object2 will collide.
|
PocMethodFacade |
getCollisionProbaMethod()
Get the method that was used to calculate the collision probability.
|
List<String> |
getComment()
Get comment for relative metadata.
|
double |
getMissDistance()
Get the norm of relative position vector at TCA.
|
Vector3D |
getRelativePosition()
Get the Object2’s position vector relative to Object1's at TCA in RTN frame, getX for R component,
getY for T component, getZ for N component.
|
double |
getRelativeSpeed()
Get the norm of relative velocity vector at TCA.
|
Vector3D |
getRelativeVelocity()
Get the Object2’s velocity vector relative to Object1's at TCA in RTN frame, getX for R component,
getY for T component, getZ for N component.
|
AbsoluteDate |
getScreenEntryTime()
Get the time in UTC when Object2 enters the screening volume.
|
AbsoluteDate |
getScreenExitTime()
Get the time in UTC when Object2 exits the screening volume.
|
ScreenVolumeFrame |
getScreenVolumeFrame()
Get the name of the Object1 centered reference frame in which the screening volume data are given.
|
ScreenVolumeShape |
getScreenVolumeShape()
Get the shape of the screening volume.
|
double |
getScreenVolumeX()
Get the R or T (depending on if RTN or TVN is selected) component size of the screening volume in the corresponding frame.
|
double |
getScreenVolumeY()
Get the T or V (depending on if RTN or TVN is selected) component size of the screening volume in the corresponding frame.
|
double |
getScreenVolumeZ()
Get the N component size of the screening volume in the corresponding frame.
|
AbsoluteDate |
getStartScreenPeriod()
Get the start time in UTC of the screening period for the conjunction assessment.
|
AbsoluteDate |
getStopScreenPeriod()
Get the stop time in UTC of the screening period for the conjunction assessment.
|
AbsoluteDate |
getTca()
Get the date and time in UTC of the closest approach.
|
TimeSystem |
getTimeSystem()
Get the Time System that: for CDM, is used for relative metadata, metadata,
OD parameters, state vector.
|
void |
setCollisionProbability(double collisionProbability)
Set the probability (between 0.0 and 1.0) that Object1 and Object2 will collide.
|
void |
setCollisionProbaMethod(PocMethodFacade collisionProbaMethod)
Set the method that was used to calculate the collision probability.
|
void |
setMissDistance(double missDistance)
Set the norm of relative position vector at TCA.
|
void |
setRelativePositionN(double relativePositionN)
Set the N component of Object2’s position relative to Object1’s in RTN frame.
|
void |
setRelativePositionR(double relativePositionR)
Set the R component of Object2’s position relative to Object1’s in RTN frame.
|
void |
setRelativePositionT(double relativePositionT)
Set the T component of Object2’s position relative to Object1’s in RTN frame.
|
void |
setRelativeSpeed(double relativeSpeed)
Set the norm of relative velocity vector at TCA.
|
void |
setRelativeVelocityN(double relativeVelocityN)
Set the N component of Object2’s velocity relative to Object1’s in RTN frame.
|
void |
setRelativeVelocityR(double relativeVelocityR)
Set the R component of Object2’s velocity relative to Object1’s in RTN frame.
|
void |
setRelativeVelocityT(double relativeVelocityT)
Set the T component of Object2’s velocity relative to Object1’s in RTN frame.
|
void |
setScreenEntryTime(AbsoluteDate screenEntryTime)
Set the time in UTC when Object2 enters the screening volume.
|
void |
setScreenExitTime(AbsoluteDate screenExitTime)
Set the time in UTC when Object2 exits the screening volume.
|
void |
setScreenVolumeFrame(ScreenVolumeFrame screenVolumeFrame)
Set the name of the Object1 centered reference frame in which the screening volume data are given.
|
void |
setScreenVolumeShape(ScreenVolumeShape screenVolumeShape)
Set the shape of the screening volume.
|
void |
setScreenVolumeX(double screenVolumeX)
Set the R or T (depending on if RTN or TVN is selected) component size of the screening volume in the corresponding frame.
|
void |
setScreenVolumeY(double screenVolumeY)
Set the T or V (depending on if RTN or TVN is selected) component size of the screening volume in the corresponding frame.
|
void |
setScreenVolumeZ(double screenVolumeZ)
Set the N component size of the screening volume in the corresponding frame.
|
void |
setStartScreenPeriod(AbsoluteDate startScreenPeriod)
Set the start time in UTC of the screening period for the conjunction assessment.
|
void |
setStopScreenPeriod(AbsoluteDate stopScreenPeriod)
Set the stop time in UTC of the screening period for the conjunction assessment.
|
void |
setTca(AbsoluteDate tca)
Set the date and time in UTC of the closest approach.
|
void |
setTimeSystem(TimeSystem timeSystem)
Set the Time System that: for CDM, is used for relative metadata, metadata,
OD parameters, state vector.
|
void |
validate()
Check is all mandatory entries have been initialized.
|
public void validate()
public AbsoluteDate getTca()
public void setTca(AbsoluteDate tca)
tca
- time of closest approach to be setpublic double getMissDistance()
public void setMissDistance(double missDistance)
missDistance
- the miss distance to be set (in m)public double getRelativeSpeed()
public void setRelativeSpeed(double relativeSpeed)
relativeSpeed
- the relative speed (in m/s) at TCA to be setpublic Vector3D getRelativeVelocity()
public Vector3D getRelativePosition()
public void setRelativePositionR(double relativePositionR)
relativePositionR
- the R component (in m) of Object2’s position relative to Object1’spublic void setRelativePositionT(double relativePositionT)
relativePositionT
- the T component (in m) of Object2’s position relative to Object1’spublic void setRelativePositionN(double relativePositionN)
relativePositionN
- the N component (in m) of Object2’s position relative to Object1’spublic void setRelativeVelocityR(double relativeVelocityR)
relativeVelocityR
- the R component (in m/s) of Object2’s velocity relative to Object1’spublic void setRelativeVelocityT(double relativeVelocityT)
relativeVelocityT
- the T component (in m/s) of Object2’s velocity relative to Object1’spublic void setRelativeVelocityN(double relativeVelocityN)
relativeVelocityN
- the N component (in m/s) of Object2’s velocity relative to Object1’spublic AbsoluteDate getStartScreenPeriod()
public void setStartScreenPeriod(AbsoluteDate startScreenPeriod)
startScreenPeriod
- start time in UTC of the screening period to be setpublic AbsoluteDate getStopScreenPeriod()
public void setStopScreenPeriod(AbsoluteDate stopScreenPeriod)
stopScreenPeriod
- stop time in UTC of the screening period to be setpublic ScreenVolumeFrame getScreenVolumeFrame()
public void setScreenVolumeFrame(ScreenVolumeFrame screenVolumeFrame)
screenVolumeFrame
- name of screen volume framepublic ScreenVolumeShape getScreenVolumeShape()
public void setScreenVolumeShape(ScreenVolumeShape screenVolumeShape)
screenVolumeShape
- shape of the screening volumepublic double getScreenVolumeX()
public void setScreenVolumeX(double screenVolumeX)
screenVolumeX
- first component size of the screening volume (in m)public double getScreenVolumeY()
public void setScreenVolumeY(double screenVolumeY)
screenVolumeY
- second component size of the screening volume (in m)public double getScreenVolumeZ()
public void setScreenVolumeZ(double screenVolumeZ)
screenVolumeZ
- third component size of the screening volume (in m)public AbsoluteDate getScreenEntryTime()
public void setScreenEntryTime(AbsoluteDate screenEntryTime)
screenEntryTime
- time in UTC when Object2 enters the screening volumepublic AbsoluteDate getScreenExitTime()
public void setScreenExitTime(AbsoluteDate screenExitTime)
screenExitTime
- time in UTC when Object2 exits the screening volumepublic double getCollisionProbability()
public void setCollisionProbability(double collisionProbability)
collisionProbability
- first component size of the screening volumepublic PocMethodFacade getCollisionProbaMethod()
public void setCollisionProbaMethod(PocMethodFacade collisionProbaMethod)
collisionProbaMethod
- method used to calculate probability of collisionpublic void checkNotNull(Object field, Enum<?> key)
field
- field to checkkey
- key associated with the fieldpublic void setTimeSystem(TimeSystem timeSystem)
timeSystem
- the time system to be setpublic TimeSystem getTimeSystem()
public void addComment(String comments)
comments
- to be setCopyright © 2002-2022 CS GROUP. All rights reserved.