Package org.orekit.files.iirv
Class IIRVBuilder
java.lang.Object
org.orekit.files.iirv.IIRVBuilder
Builder for
IIRVVector.- Since:
- 13.0
- Author:
- Nick LaFarge
-
Constructor Summary
ConstructorsConstructorDescriptionIIRVBuilder(UTCScale utc) Constructs anIIRVBuilderinstance with a UTC timescale and default values for all parameters. -
Method Summary
Modifier and TypeMethodDescription<C extends TimeStampedPVCoordinates>
IIRVEphemerisFilebuildEphemerisFile(List<C> timeStampedPVCoordinates) Constructs anIIRVEphemerisFilefrom the inputted list ofTimeStampedPVCoordinates, inferring the start year from the first coordinate'sAbsoluteDate.<C extends TimeStampedPVCoordinates>
IIRVMessagebuildIIRVMessage(List<C> timeStampedPVCoordinates) Constructs anIIRVMessagewhere eachIIRVVectorin initialized from the inputted list ofTimeStampedPVCoordinates.buildVector(DayOfYearTerm dayOfYear, VectorEpochTerm vectorEpoch, PositionVectorComponentTerm xPosition, PositionVectorComponentTerm yPosition, PositionVectorComponentTerm zPosition, VelocityVectorComponentTerm xVelocity, VelocityVectorComponentTerm yVelocity, VelocityVectorComponentTerm zVelocity) Constructs an IIRV object using the configured parameters.buildVector(TimeStampedPVCoordinates timeStampedPVCoordinates) Constructs an IIRV vector using the configured parameters, with position, velocity, and time variables derived from instances ofTimeStampedPVCoordinatesandAbsoluteDate.Gets the currentCoordinateSystemTermvalue.Gets the currentCrossSectionalAreaTermvalue.Gets the currentDataSourceTermvalue.Gets the currentDragCoefficientTermvalue.getMass()Gets the currentMassTermvalue.Gets the currentMessageClassTermvalue.Gets the currentMessageIDTermvalue.Gets the currentMessageSourceTermvalue.Gets the currentMessageTypeTermvalue.Gets the currentOriginatorRoutingIndicatorTermvalue.Gets the currentOriginIdentificationTermvalue.Gets the currentRoutingIndicatorTermvalue.Returns the satellite ID (set to the value of theVehicleIdCodeTerm).Gets the currentSequenceNumberTermvalue.Gets the currentSolarReflectivityCoefficientTermvalue.Gets the currentSupportIdCodeTermvalue.Gets the currentVectorTypeTermvalue.Gets the currentVehicleIdCodeTermvalue.voidsetCoordinateSystem(long coordinateSystem) Overrides the default CoordinateSystem attribute for theIIRVVectorobject being built.voidsetCoordinateSystem(String coordinateSystem) Overrides the default CoordinateSystem attribute for theIIRVVectorobject being built.voidsetCoordinateSystem(CoordinateSystemTerm coordinateSystem) Overrides the default CoordinateSystem attribute for theIIRVVectorobject being built.voidsetCrossSectionalArea(double crossSectionalArea) Overrides the defaultCrossSectionalAreaTermattribute for theIIRVVectorobject being built.voidsetCrossSectionalArea(String crossSectionalArea) Overrides the defaultCrossSectionalAreaTermattribute for theIIRVVectorobject being built.voidsetCrossSectionalArea(CrossSectionalAreaTerm crossSectionalArea) Overrides the defaultCrossSectionalAreaTermattribute for theIIRVVectorobject being built.voidsetDataSource(long dataSource) Overrides the default DataSource attribute for theIIRVVectorobject being built.voidsetDataSource(String dataSource) Overrides the default DataSource attribute for theIIRVVectorobject being built.voidsetDataSource(DataSourceTerm dataSource) Overrides the default DataSource attribute for theIIRVVectorobject being built.voidsetDragCoefficient(double dragCoefficient) Overrides the defaultDragCoefficientTermattribute for theIIRVVectorobject being built.voidsetDragCoefficient(String dragCoefficient) Overrides the defaultDragCoefficientTermattribute for theIIRVVectorobject being built.voidsetDragCoefficient(DragCoefficientTerm dragCoefficient) Overrides the defaultDragCoefficientTermattribute for theIIRVVectorobject being built.voidsetMass(double mass) Overrides the default Mass attribute for theIIRVVectorobject being built.voidOverrides the default Mass attribute for theIIRVVectorobject being built.voidOverrides the default Mass attribute for theIIRVVectorobject being built.voidsetMessageClass(long messageClass) Overrides the default MessageClass attribute for theIIRVVectorobject being built.voidsetMessageClass(String messageClass) Overrides the default MessageClass attribute for theIIRVVectorobject being built.voidsetMessageClass(MessageClassTerm messageClass) Overrides the default MessageClass attribute for theIIRVVectorobject being built.voidsetMessageID(long messageID) Overrides the default MessageID attribute for theIIRVVectorobject being built.voidsetMessageID(String messageID) Overrides the default MessageID attribute for theIIRVVectorobject being built.voidsetMessageID(MessageIDTerm messageID) Overrides the default MessageID attribute for theIIRVVectorobject being built.voidsetMessageSource(String messageSource) Overrides the defaultMessageSourceTermattribute for theIIRVVectorobject being built.voidsetMessageSource(MessageSourceTerm messageSource) Overrides the defaultMessageSourceTermattribute for theIIRVVectorobject being built.voidsetMessageType(String messageType) Overrides the defaultMessageTypeTermattribute for theIIRVVectorobject being built.voidsetMessageType(MessageTypeTerm messageType) Overrides the defaultMessageTypeTermattribute for theIIRVVectorobject being built.voidsetOriginatorRoutingIndicator(String originatorRoutingIndicator) Overrides the defaultOriginatorRoutingIndicatorTermattribute for theIIRVVectorobject being built.voidsetOriginatorRoutingIndicator(OriginatorRoutingIndicatorTerm originatorRoutingIndicator) Overrides the defaultOriginatorRoutingIndicatorTermattribute for theIIRVVectorobject being built.voidsetOriginIdentification(String originIdentification) Overrides the default OriginIdentification attribute for theIIRVVectorobject being built.voidsetOriginIdentification(OriginIdentificationTerm originIdentification) Overrides the default OriginIdentification attribute for theIIRVVectorobject being built.voidsetRoutingIndicator(String routingIndicator) Overrides the default RoutingIndicator attribute for theIIRVVectorobject being built.voidsetRoutingIndicator(RoutingIndicatorTerm routingIndicator) Overrides the default RoutingIndicator attribute for theIIRVVectorobject being built.voidsetSequenceNumber(long sequenceNumber) Overrides the default SequenceNumber attribute for theIIRVVectorobject being built.voidsetSequenceNumber(String sequenceNumber) Overrides the default SequenceNumber attribute for theIIRVVectorobject being built.voidsetSequenceNumber(SequenceNumberTerm sequenceNumber) Overrides the default SequenceNumber attribute for theIIRVVectorobject being built.voidsetSolarReflectivityCoefficient(double solarReflectivityCoefficient) Overrides the defaultSolarReflectivityCoefficientTermattribute for theIIRVVectorobject being built.voidsetSolarReflectivityCoefficient(String solarReflectivityCoefficient) Overrides the defaultSolarReflectivityCoefficientTermattribute for theIIRVVectorobject being built.voidsetSolarReflectivityCoefficient(SolarReflectivityCoefficientTerm solarReflectivityCoefficient) Overrides the defaultSolarReflectivityCoefficientTermattribute for theIIRVVectorobject being built.voidsetSupportIdCode(long supportIdCode) Overrides the default SupportIdCode attribute for theIIRVVectorobject being built.voidsetSupportIdCode(String supportIdCode) Overrides the default SupportIdCode attribute for theIIRVVectorobject being built.voidsetSupportIdCode(SupportIdCodeTerm supportIdCode) Overrides the default SupportIdCode attribute for theIIRVVectorobject being built.voidsetVectorType(long vectorType) Overrides the default VectorType attribute for theIIRVVectorobject being built.voidsetVectorType(String vectorType) Overrides the default VectorType attribute for theIIRVVectorobject being built.voidsetVectorType(VectorTypeTerm vectorType) Overrides the default VectorType attribute for theIIRVVectorobject being built.voidsetVehicleIdCode(long vehicleIdCode) Overrides the default VehicleIdCode attribute for theIIRVVectorobject being built.voidsetVehicleIdCode(String vehicleIdCode) Overrides the default VehicleIdCode attribute for theIIRVVectorobject being built.voidsetVehicleIdCode(VehicleIdCodeTerm vehicleIdCode) Overrides the default VehicleIdCode attribute for theIIRVVectorobject being built.
-
Constructor Details
-
IIRVBuilder
Constructs anIIRVBuilderinstance with a UTC timescale and default values for all parameters.- Parameters:
utc- UTC time scale
-
-
Method Details
-
buildVector
public IIRVVector buildVector(DayOfYearTerm dayOfYear, VectorEpochTerm vectorEpoch, PositionVectorComponentTerm xPosition, PositionVectorComponentTerm yPosition, PositionVectorComponentTerm zPosition, VelocityVectorComponentTerm xVelocity, VelocityVectorComponentTerm yVelocity, VelocityVectorComponentTerm zVelocity) Constructs an IIRV object using the configured parameters.- Parameters:
dayOfYear- Day of year, 001 to 366vectorEpoch- Vector epoch in UTCxPosition- X component of the position vector [m]yPosition- Y component of the position vector [m]zPosition- Z component of the position vector [m]xVelocity- X component of the velocity vector [m/s]yVelocity- Y component of the velocity vector [m/s]zVelocity- Z component of the velocity vector [m/s]- Returns:
- the newly constructed IIRV object
-
buildVector
Constructs an IIRV vector using the configured parameters, with position, velocity, and time variables derived from instances ofTimeStampedPVCoordinatesandAbsoluteDate.- Parameters:
timeStampedPVCoordinates- position and velocity components at a particular epoch corresponding to the IIRV vector- Returns:
- the newly constructed IIRV object at the given coordinates
-
buildIIRVMessage
public <C extends TimeStampedPVCoordinates> IIRVMessage buildIIRVMessage(List<C> timeStampedPVCoordinates) Constructs anIIRVMessagewhere eachIIRVVectorin initialized from the inputted list ofTimeStampedPVCoordinates.- Type Parameters:
C- type of the Cartesian coordinates- Parameters:
timeStampedPVCoordinates- list of time-stamped position and velocity vectors to populate the message- Returns:
- the newly constructed
IIRVMessagecontaining the given coordinates
-
buildEphemerisFile
public <C extends TimeStampedPVCoordinates> IIRVEphemerisFile buildEphemerisFile(List<C> timeStampedPVCoordinates) Constructs anIIRVEphemerisFilefrom the inputted list ofTimeStampedPVCoordinates, inferring the start year from the first coordinate'sAbsoluteDate.See
buildIIRVMessage(List)forIIRVMessageconstruction details.- Type Parameters:
C- type of the Cartesian coordinates- Parameters:
timeStampedPVCoordinates- list of time-stamped position and velocity vectors to populate the message- Returns:
- the newly constructed
IIRVEphemerisFilecontaining the given coordinates
-
getMass
Gets the currentMassTermvalue.- Returns:
- the current
MassTermvalue.
-
setMass
Overrides the default Mass attribute for theIIRVVectorobject being built.Units: kg
- Parameters:
mass- mass value (kg) for the IIRV message
-
setMass
Overrides the default Mass attribute for theIIRVVectorobject being built.Units: kg
- Parameters:
mass- mass value (kg) for the IIRV message
-
setMass
public void setMass(double mass) Overrides the default Mass attribute for theIIRVVectorobject being built.Units: kg
- Parameters:
mass- mass value (kg) for the IIRV message
-
getMessageType
Gets the currentMessageTypeTermvalue.- Returns:
- the current
MessageTypeTermvalue.
-
setMessageType
Overrides the defaultMessageTypeTermattribute for theIIRVVectorobject being built.- Parameters:
messageType-MessageTypeTermfor the IIRV message
-
setMessageType
Overrides the defaultMessageTypeTermattribute for theIIRVVectorobject being built.- Parameters:
messageType-MessageTypeTermfor the IIRV message
-
getMessageSource
Gets the currentMessageSourceTermvalue.- Returns:
- the current
MessageSourceTermvalue.
-
setMessageSource
Overrides the defaultMessageSourceTermattribute for theIIRVVectorobject being built.- Parameters:
messageSource-MessageSourceTermfor the IIRV message
-
setMessageSource
Overrides the defaultMessageSourceTermattribute for theIIRVVectorobject being built.- Parameters:
messageSource-MessageSourceTermfor the IIRV message
-
getMessageID
Gets the currentMessageIDTermvalue.- Returns:
- the current
MessageIDTermvalue.
-
setMessageID
Overrides the default MessageID attribute for theIIRVVectorobject being built.- Parameters:
messageID- message ID value for the IIRV message
-
setMessageID
Overrides the default MessageID attribute for theIIRVVectorobject being built.- Parameters:
messageID- message ID value for the IIRV message
-
setMessageID
public void setMessageID(long messageID) Overrides the default MessageID attribute for theIIRVVectorobject being built.- Parameters:
messageID- message ID value for the IIRV message
-
getMessageClass
Gets the currentMessageClassTermvalue.- Returns:
- the current
MessageClassTermvalue.
-
setMessageClass
Overrides the default MessageClass attribute for theIIRVVectorobject being built.- Parameters:
messageClass- message class value for the IIRV message
-
setMessageClass
Overrides the default MessageClass attribute for theIIRVVectorobject being built.- Parameters:
messageClass- message class value for the IIRV message
-
setMessageClass
public void setMessageClass(long messageClass) Overrides the default MessageClass attribute for theIIRVVectorobject being built.- Parameters:
messageClass- message class value for the IIRV message
-
getOriginIdentification
Gets the currentOriginIdentificationTermvalue.- Returns:
- the current
OriginIdentificationTermvalue.
-
setOriginIdentification
Overrides the default OriginIdentification attribute for theIIRVVectorobject being built.- Parameters:
originIdentification- origin identification value for the IIRV message
-
setOriginIdentification
Overrides the default OriginIdentification attribute for theIIRVVectorobject being built.- Parameters:
originIdentification- origin identification value for the IIRV message
-
getRoutingIndicator
Gets the currentRoutingIndicatorTermvalue.- Returns:
- the current
RoutingIndicatorTermvalue.
-
setRoutingIndicator
Overrides the default RoutingIndicator attribute for theIIRVVectorobject being built.- Parameters:
routingIndicator- routing indicator term value for the IIRV message
-
setRoutingIndicator
Overrides the default RoutingIndicator attribute for theIIRVVectorobject being built.- Parameters:
routingIndicator- routing indicator term value for the IIRV message
-
getVectorType
Gets the currentVectorTypeTermvalue.- Returns:
- the current
VectorTypeTermvalue.
-
setVectorType
Overrides the default VectorType attribute for theIIRVVectorobject being built.- Parameters:
vectorType- vector type term value for the IIRV message
-
setVectorType
Overrides the default VectorType attribute for theIIRVVectorobject being built.- Parameters:
vectorType- vector type term value for the IIRV message
-
setVectorType
public void setVectorType(long vectorType) Overrides the default VectorType attribute for theIIRVVectorobject being built.- Parameters:
vectorType- vector type term value for the IIRV message
-
getDataSource
Gets the currentDataSourceTermvalue.- Returns:
- the current
DataSourceTermvalue.
-
setDataSource
Overrides the default DataSource attribute for theIIRVVectorobject being built.- Parameters:
dataSource- data source term value for the IIRV message
-
setDataSource
public void setDataSource(long dataSource) Overrides the default DataSource attribute for theIIRVVectorobject being built.- Parameters:
dataSource- data source term value for the IIRV message
-
setDataSource
Overrides the default DataSource attribute for theIIRVVectorobject being built.- Parameters:
dataSource- data source term value for the IIRV message
-
getCoordinateSystem
Gets the currentCoordinateSystemTermvalue.- Returns:
- the current
CoordinateSystemTermvalue.
-
setCoordinateSystem
Overrides the default CoordinateSystem attribute for theIIRVVectorobject being built.- Parameters:
coordinateSystem- coordinate system term value for the IIRV message
-
setCoordinateSystem
Overrides the default CoordinateSystem attribute for theIIRVVectorobject being built.- Parameters:
coordinateSystem- coordinate system term value for the IIRV message
-
setCoordinateSystem
public void setCoordinateSystem(long coordinateSystem) Overrides the default CoordinateSystem attribute for theIIRVVectorobject being built.- Parameters:
coordinateSystem- coordinate system term value for the IIRV message
-
getSupportIdCode
Gets the currentSupportIdCodeTermvalue.- Returns:
- the current
SupportIdCodeTermvalue.
-
setSupportIdCode
Overrides the default SupportIdCode attribute for theIIRVVectorobject being built.- Parameters:
supportIdCode- support id code value for the IIRV message
-
setSupportIdCode
Overrides the default SupportIdCode attribute for theIIRVVectorobject being built.- Parameters:
supportIdCode- support id code value for the IIRV message
-
setSupportIdCode
public void setSupportIdCode(long supportIdCode) Overrides the default SupportIdCode attribute for theIIRVVectorobject being built.- Parameters:
supportIdCode- support id code value for the IIRV message
-
getVehicleIdCode
Gets the currentVehicleIdCodeTermvalue.- Returns:
- the current
VehicleIdCodeTermvalue.
-
setVehicleIdCode
Overrides the default VehicleIdCode attribute for theIIRVVectorobject being built.- Parameters:
vehicleIdCode- vehicle id code value for the IIRV message
-
setVehicleIdCode
Overrides the default VehicleIdCode attribute for theIIRVVectorobject being built.- Parameters:
vehicleIdCode- vehicle id code value for the IIRV message
-
setVehicleIdCode
public void setVehicleIdCode(long vehicleIdCode) Overrides the default VehicleIdCode attribute for theIIRVVectorobject being built.- Parameters:
vehicleIdCode- vehicle id code value for the IIRV message
-
getSequenceNumber
Gets the currentSequenceNumberTermvalue.- Returns:
- the current
SequenceNumberTermvalue.
-
setSequenceNumber
Overrides the default SequenceNumber attribute for theIIRVVectorobject being built.- Parameters:
sequenceNumber- sequence number value for the IIRV message
-
setSequenceNumber
Overrides the default SequenceNumber attribute for theIIRVVectorobject being built.- Parameters:
sequenceNumber- sequence number value for the IIRV message
-
setSequenceNumber
public void setSequenceNumber(long sequenceNumber) Overrides the default SequenceNumber attribute for theIIRVVectorobject being built.- Parameters:
sequenceNumber- sequence number value for the IIRV message
-
getCrossSectionalArea
Gets the currentCrossSectionalAreaTermvalue.- Returns:
- the current
CrossSectionalAreaTermvalue.
-
setCrossSectionalArea
Overrides the defaultCrossSectionalAreaTermattribute for theIIRVVectorobject being built.Units: m^2
- Parameters:
crossSectionalArea- cross-sectional area value (m^2) for the IIRV message
-
setCrossSectionalArea
Overrides the defaultCrossSectionalAreaTermattribute for theIIRVVectorobject being built.Units: m^2
- Parameters:
crossSectionalArea- cross-sectional area value (m^2) for the IIRV message
-
setCrossSectionalArea
public void setCrossSectionalArea(double crossSectionalArea) Overrides the defaultCrossSectionalAreaTermattribute for theIIRVVectorobject being built.Units: m^2
- Parameters:
crossSectionalArea- cross-sectional area value (m^2) for the IIRV message
-
getDragCoefficient
Gets the currentDragCoefficientTermvalue.- Returns:
- the current
DragCoefficientTermvalue.
-
setDragCoefficient
Overrides the defaultDragCoefficientTermattribute for theIIRVVectorobject being built.Units: dimensionless
- Parameters:
dragCoefficient- drag coefficient value (dimensionless) for the IIRV message
-
setDragCoefficient
Overrides the defaultDragCoefficientTermattribute for theIIRVVectorobject being built.Units: dimensionless
- Parameters:
dragCoefficient- drag coefficient value (dimensionless) for the IIRV message
-
setDragCoefficient
public void setDragCoefficient(double dragCoefficient) Overrides the defaultDragCoefficientTermattribute for theIIRVVectorobject being built.Units: dimensionless
- Parameters:
dragCoefficient- drag coefficient value (dimensionless) for the IIRV message
-
getSolarReflectivityCoefficient
Gets the currentSolarReflectivityCoefficientTermvalue.- Returns:
- the current
SolarReflectivityCoefficientTermvalue.
-
setSolarReflectivityCoefficient
public void setSolarReflectivityCoefficient(SolarReflectivityCoefficientTerm solarReflectivityCoefficient) Overrides the defaultSolarReflectivityCoefficientTermattribute for theIIRVVectorobject being built.Units: dimensionless
- Parameters:
solarReflectivityCoefficient- solar reflectivity coefficient value (dimensionless) for the IIRV message
-
setSolarReflectivityCoefficient
Overrides the defaultSolarReflectivityCoefficientTermattribute for theIIRVVectorobject being built.Units: dimensionless
- Parameters:
solarReflectivityCoefficient- solar reflectivity coefficient value (dimensionless) for the IIRV message
-
setSolarReflectivityCoefficient
public void setSolarReflectivityCoefficient(double solarReflectivityCoefficient) Overrides the defaultSolarReflectivityCoefficientTermattribute for theIIRVVectorobject being built.Units: dimensionless
- Parameters:
solarReflectivityCoefficient- solar reflectivity coefficient value (dimensionless) for the IIRV message
-
getOriginatorRoutingIndicator
Gets the currentOriginatorRoutingIndicatorTermvalue.- Returns:
- the current
OriginatorRoutingIndicatorTermvalue.
-
setOriginatorRoutingIndicator
public void setOriginatorRoutingIndicator(OriginatorRoutingIndicatorTerm originatorRoutingIndicator) Overrides the defaultOriginatorRoutingIndicatorTermattribute for theIIRVVectorobject being built.- Parameters:
originatorRoutingIndicator- originator routing indicator value for the IIRV message
-
setOriginatorRoutingIndicator
Overrides the defaultOriginatorRoutingIndicatorTermattribute for theIIRVVectorobject being built.- Parameters:
originatorRoutingIndicator- originator routing indicator value for the IIRV message
-
getSatelliteID
Returns the satellite ID (set to the value of theVehicleIdCodeTerm).- Returns:
- the satellite ID
-