Package com.irurueta.navigation.frames
Class ECIFrame
- All Implemented Interfaces:
Frame
,Serializable
,Cloneable
Contains position, velocity and coordinates transformation matrix expressed in ECI frame.
Position and velocity of this frame is expressed along ECI axes as described here:
FrameType.EARTH_CENTERED_INERTIAL_FRAME
.- See Also:
-
Field Summary
Fields inherited from class com.irurueta.navigation.frames.ECIorECEFFrame
c, clazz, NUM_POSITION_COORDINATES, NUM_VELOCITY_COORDINATES, vx, vy, vz, x, y, z
-
Constructor Summary
ConstructorsConstructorDescriptionECIFrame()
Constructor.ECIFrame
(double x, double y, double z) Constructor.ECIFrame
(double x, double y, double z, double vx, double vy, double vz) Constructor.ECIFrame
(double x, double y, double z, double vx, double vy, double vz, CoordinateTransformation c) Constructor.ECIFrame
(double x, double y, double z, CoordinateTransformation c) Constructor.ECIFrame
(double x, double y, double z, com.irurueta.units.Speed speedX, com.irurueta.units.Speed speedY, com.irurueta.units.Speed speedZ) Constructor.ECIFrame
(double x, double y, double z, com.irurueta.units.Speed speedX, com.irurueta.units.Speed speedY, com.irurueta.units.Speed speedZ, CoordinateTransformation c) Constructor.ECIFrame
(com.irurueta.geometry.Point3D position) Constructor.ECIFrame
(com.irurueta.geometry.Point3D position, double vx, double vy, double vz) Constructor.ECIFrame
(com.irurueta.geometry.Point3D position, double vx, double vy, double vz, CoordinateTransformation c) Constructor.ECIFrame
(com.irurueta.geometry.Point3D position, CoordinateTransformation c) Constructor.ECIFrame
(com.irurueta.geometry.Point3D position, com.irurueta.units.Speed speedX, com.irurueta.units.Speed speedY, com.irurueta.units.Speed speedZ) Constructor.ECIFrame
(com.irurueta.geometry.Point3D position, com.irurueta.units.Speed speedX, com.irurueta.units.Speed speedY, com.irurueta.units.Speed speedZ, CoordinateTransformation c) Constructor.Constructor.Constructor.ECIFrame
(com.irurueta.units.Distance positionX, com.irurueta.units.Distance positionY, com.irurueta.units.Distance positionZ) Constructor.ECIFrame
(com.irurueta.units.Distance positionX, com.irurueta.units.Distance positionY, com.irurueta.units.Distance positionZ, double vx, double vy, double vz) Constructor.ECIFrame
(com.irurueta.units.Distance positionX, com.irurueta.units.Distance positionY, com.irurueta.units.Distance positionZ, double vx, double vy, double vz, CoordinateTransformation c) Constructor.ECIFrame
(com.irurueta.units.Distance positionX, com.irurueta.units.Distance positionY, com.irurueta.units.Distance positionZ, CoordinateTransformation c) Constructor.ECIFrame
(com.irurueta.units.Distance positionX, com.irurueta.units.Distance positionY, com.irurueta.units.Distance positionZ, com.irurueta.units.Speed speedX, com.irurueta.units.Speed speedY, com.irurueta.units.Speed speedZ) Constructor.ECIFrame
(com.irurueta.units.Distance positionX, com.irurueta.units.Distance positionY, com.irurueta.units.Distance positionZ, com.irurueta.units.Speed speedX, com.irurueta.units.Speed speedY, com.irurueta.units.Speed speedZ, CoordinateTransformation c) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
clone()
Makes a copy of this instance.Gets coordinate transformation matrix.void
Gets coordinate transformation matrix.static boolean
Checks whether provided coordinate transformation is valid or not.void
Sets coordinate transformation matrix.Methods inherited from class com.irurueta.navigation.frames.ECIorECEFFrame
copyFrom, copyTo, equals, equals, getCoordinateTransformationMatrix, getCoordinateTransformationMatrix, getCoordinateTransformationRotation, getCoordinateTransformationRotation, getPosition, getPosition, getPositionNorm, getPositionNormAsDistance, getPositionNormAsDistance, getPositionX, getPositionX, getPositionY, getPositionY, getPositionZ, getPositionZ, getSpeedX, getSpeedX, getSpeedY, getSpeedY, getSpeedZ, getSpeedZ, getVelocityNorm, getVelocityNormAsSpeed, getVelocityNormAsSpeed, getVx, getVy, getVz, getX, getY, getZ, hashCode, setCoordinates, setCoordinateTransformationMatrix, setCoordinateTransformationMatrix, setCoordinateTransformationRotation, setPosition, setPositionCoordinates, setPositionX, setPositionY, setPositionZ, setSpeedCoordinates, setSpeedX, setSpeedY, setSpeedZ, setVelocityCoordinates, setVx, setVy, setVz, setX, setY, setZ
-
Constructor Details
-
ECIFrame
public ECIFrame()Constructor. Initializes position and velocity coordinates to zero and the coordinate transformation matrix to the identity. -
ECIFrame
public ECIFrame(double x, double y, double z) Constructor.- Parameters:
x
- cartesian x coordinate of body position expressed in meters (m) with respect ECI frame, resolved along ECI-frame axes.y
- cartesian y coordinate of body position expressed in meters (m) with respect ECI frame, resolved along ECI-frame axes.z
- cartesian z coordinate of body position expressed in meters (m) with respect ECI frame, resolved along ECI-frame axes.
-
ECIFrame
public ECIFrame(com.irurueta.geometry.Point3D position) Constructor.- Parameters:
position
- body position expressed in meters (m) and resolved along ECI-frame axes.
-
ECIFrame
public ECIFrame(com.irurueta.units.Distance positionX, com.irurueta.units.Distance positionY, com.irurueta.units.Distance positionZ) Constructor.- Parameters:
positionX
- cartesian x coordinate of body position to be set resolved along ECI-frame axes.positionY
- cartesian y coordinate of body position to be set resolved along ECI-frame axes.positionZ
- cartesian z coordinate of body position to be set resolved along ECI-frame axes.
-
ECIFrame
public ECIFrame(double x, double y, double z, double vx, double vy, double vz) Constructor.- Parameters:
x
- cartesian x coordinate of body position expressed in meters (m) and resolved along ECI-frame axes.y
- cartesian y coordinate of body position expressed in meters (m) and resolved along ECI-frame axes.z
- cartesian z coordinate of body position expressed in meters (m) and resolved along ECI-frame axes.vx
- x coordinate of velocity of body frame expressed in meters per second (m/s) and resolved along ECI-frame axes.vy
- y coordinate of velocity of body frame expressed in meters per second (m/s) and resolved along ECI-frame axes.vz
- z coordinate of velocity of body frame expressed in meters per second (m/s) and resolved along ECI-frame axes.
-
ECIFrame
public ECIFrame(com.irurueta.geometry.Point3D position, double vx, double vy, double vz) Constructor.- Parameters:
position
- body position expressed in meters (m) and resolved along ECI-frame axes.vx
- x coordinate of velocity of body frame expressed in meters per second (m/s) and resolved along ECI-frame axes.vy
- y coordinate of velocity of body frame expressed in meters per second (m/s) and resolved along ECI-frame axes.vz
- z coordinate of velocity of body frame expressed in meters per second (m/s) and resolved along ECI-frame axes.
-
ECIFrame
public ECIFrame(com.irurueta.geometry.Point3D position, com.irurueta.units.Speed speedX, com.irurueta.units.Speed speedY, com.irurueta.units.Speed speedZ) Constructor.- Parameters:
position
- body position expressed in meters (m) and resolved along ECI-frame axes.speedX
- x coordinate of velocity to be set resolved along ECI-frame axes.speedY
- y coordinate of velocity to be set resolved along ECI-frame axes.speedZ
- z coordinate of velocity to be set resolved along ECI-frame axes.
-
ECIFrame
public ECIFrame(double x, double y, double z, com.irurueta.units.Speed speedX, com.irurueta.units.Speed speedY, com.irurueta.units.Speed speedZ) Constructor.- Parameters:
x
- cartesian x coordinate of body position expressed in meters (m) with respect ECI frame, resolved along ECI-frame axes.y
- cartesian y coordinate of body position expressed in meters (m) with respect ECI frame, resolved along ECI-frame axes.z
- cartesian z coordinate of body position expressed in meters (m) with respect ECI frame, resolved along ECI-frame axes.speedX
- x coordinate of velocity to be set resolved along ECI-frame axes.speedY
- y coordinate of velocity to be set resolved along ECI-frame axes.speedZ
- z coordinate of velocity to be set resolved along ECI-frame axes.
-
ECIFrame
public ECIFrame(com.irurueta.units.Distance positionX, com.irurueta.units.Distance positionY, com.irurueta.units.Distance positionZ, double vx, double vy, double vz) Constructor.- Parameters:
positionX
- cartesian x coordinate of body position to be set, resolved along ECI-frame axes.positionY
- cartesian y coordinate of body position to be set, resolved along ECI-frame axes.positionZ
- cartesian z coordinate of body position to be set, resolved along ECI-frame axes.vx
- x coordinate of velocity of body frame expressed in meters per second (m/s) and resolved along ECI-frame axes.vy
- y coordinate of velocity of body frame expressed in meters per second (m/s) and resolved along ECI-frame axes.vz
- z coordinate of velocity of body frame expressed in meters per second (m/s) and resolved along ECI-frame axes.
-
ECIFrame
public ECIFrame(com.irurueta.units.Distance positionX, com.irurueta.units.Distance positionY, com.irurueta.units.Distance positionZ, com.irurueta.units.Speed speedX, com.irurueta.units.Speed speedY, com.irurueta.units.Speed speedZ) Constructor.- Parameters:
positionX
- cartesian x coordinate of body position to be set, resolved along ECI-frame axes.positionY
- cartesian y coordinate of body position to be set, resolved along ECI-frame axes.positionZ
- cartesian z coordinate of body position to be set, resolved along ECI-frame axes.speedX
- x coordinate of velocity to be set, resolved along ECI-frame axes.speedY
- y coordinate of velocity to be set, resolved along ECI-frame axes.speedZ
- z coordinate of velocity to be set, resolved along ECI-frame axes.
-
-
Method Details
-
getCoordinateTransformation
Gets coordinate transformation matrix.- Specified by:
getCoordinateTransformation
in interfaceFrame
- Returns:
- coordinate transformation matrix.
-
clone
Makes a copy of this instance.- Overrides:
clone
in classObject
- Returns:
- a copy of this instance.
- Throws:
CloneNotSupportedException
- if clone fails for some reason.
-