Package com.irurueta.navigation.frames
Class ECEFFrame
- All Implemented Interfaces:
Frame,Serializable,Cloneable
Contains position, velocity and coordinates transformation matrix expressed in ECEF frame.
Position and velocity of this frame is expressed along ECEF axes as described here:
FrameType.EARTH_CENTERED_EARTH_FIXED_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
ConstructorsConstructorDescriptionConstructor.ECEFFrame(double x, double y, double z) Constructor.ECEFFrame(double x, double y, double z, double vx, double vy, double vz) Constructor.ECEFFrame(double x, double y, double z, double vx, double vy, double vz, CoordinateTransformation c) Constructor.ECEFFrame(double x, double y, double z, CoordinateTransformation c) Constructor.ECEFFrame(double x, double y, double z, ECEFVelocity velocity) Constructor.ECEFFrame(double x, double y, double z, ECEFVelocity velocity, CoordinateTransformation c) Constructor.ECEFFrame(double x, double y, double z, com.irurueta.units.Speed speedX, com.irurueta.units.Speed speedY, com.irurueta.units.Speed speedZ) Constructor.ECEFFrame(double x, double y, double z, com.irurueta.units.Speed speedX, com.irurueta.units.Speed speedY, com.irurueta.units.Speed speedZ, CoordinateTransformation c) Constructor.ECEFFrame(com.irurueta.geometry.Point3D position) Constructor.ECEFFrame(com.irurueta.geometry.Point3D position, double vx, double vy, double vz) Constructor.ECEFFrame(com.irurueta.geometry.Point3D position, double vx, double vy, double vz, CoordinateTransformation c) Constructor.ECEFFrame(com.irurueta.geometry.Point3D position, CoordinateTransformation c) Constructor.ECEFFrame(com.irurueta.geometry.Point3D position, ECEFVelocity velocity) Constructor.ECEFFrame(com.irurueta.geometry.Point3D position, ECEFVelocity velocity, CoordinateTransformation c) Constructor.ECEFFrame(com.irurueta.geometry.Point3D position, com.irurueta.units.Speed speedX, com.irurueta.units.Speed speedY, com.irurueta.units.Speed speedZ) Constructor.ECEFFrame(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.ECEFFrame(ECEFPosition position) Constructor.ECEFFrame(ECEFPosition position, double vx, double vy, double vz) Constructor.ECEFFrame(ECEFPosition position, double vx, double vy, double vz, CoordinateTransformation c) Constructor.ECEFFrame(ECEFPosition position, CoordinateTransformation c) Constructor.ECEFFrame(ECEFPosition position, ECEFVelocity velocity) Constructor.ECEFFrame(ECEFPosition position, ECEFVelocity velocity, CoordinateTransformation c) Constructor.ECEFFrame(ECEFPosition position, com.irurueta.units.Speed speedX, com.irurueta.units.Speed speedY, com.irurueta.units.Speed speedZ) Constructor.ECEFFrame(ECEFPosition position, com.irurueta.units.Speed speedX, com.irurueta.units.Speed speedY, com.irurueta.units.Speed speedZ, CoordinateTransformation c) Constructor.ECEFFrame(ECEFPositionAndVelocity positionAndVelocity) Constructor.ECEFFrame(ECEFPositionAndVelocity positionAndVelocity, CoordinateTransformation c) Constructor.ECEFFrame(com.irurueta.units.Distance positionX, com.irurueta.units.Distance positionY, com.irurueta.units.Distance positionZ) Constructor.ECEFFrame(com.irurueta.units.Distance positionX, com.irurueta.units.Distance positionY, com.irurueta.units.Distance positionZ, double vx, double vy, double vz) Constructor.ECEFFrame(com.irurueta.units.Distance positionX, com.irurueta.units.Distance positionY, com.irurueta.units.Distance positionZ, double vx, double vy, double vz, CoordinateTransformation c) Constructor.ECEFFrame(com.irurueta.units.Distance positionX, com.irurueta.units.Distance positionY, com.irurueta.units.Distance positionZ, CoordinateTransformation c) Constructor.ECEFFrame(com.irurueta.units.Distance positionX, com.irurueta.units.Distance positionY, com.irurueta.units.Distance positionZ, ECEFVelocity velocity) Constructor.ECEFFrame(com.irurueta.units.Distance positionX, com.irurueta.units.Distance positionY, com.irurueta.units.Distance positionZ, ECEFVelocity velocity, CoordinateTransformation c) Constructor.ECEFFrame(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.ECEFFrame(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 Objectclone()Makes a copy of this instance.Gets coordinate transformation matrix.voidGets coordinate transformation matrix.Gets cartesian position.voidgetECEFPosition(ECEFPosition result) Gets cartesian position.Gets cartesian velocity.voidgetECEFVelocity(ECEFVelocity result) Gets cartesian velocity.Gets cartesian position and velocity.voidGets cartesian position and velocity.static booleanChecks whether provided coordinate transformation is valid or not.voidSets coordinate transformation matrix.voidsetPosition(ECEFPosition position) Sets cartesian position.voidsetPositionAndVelocity(ECEFPositionAndVelocity positionAndVelocity) Sets cartesian position and velocity.voidsetVelocity(ECEFVelocity velocity) Sets cartesian velocity.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
-
ECEFFrame
public ECEFFrame()Constructor. Initializes position and velocity coordinates to zero and the coordinate transformation matrix to the identity. -
ECEFFrame
public ECEFFrame(double x, double y, double z) Constructor.- Parameters:
x- cartesian x coordinate of body position expressed in meters (m) with respect ECEF frame, resolved along ECEF-frame axes.y- cartesian y coordinate of body position expressed in meters (m) with respect ECEF frame, resolved along ECEF-frame axes.z- cartesian z coordinate of body position expressed in meters (m) with respect ECEF frame, resolved along ECEF-frame axes.
-
ECEFFrame
public ECEFFrame(com.irurueta.geometry.Point3D position) Constructor.- Parameters:
position- body position expressed in meters (m) and resolved along ECEF-frame axes.
-
ECEFFrame
public ECEFFrame(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 ECEF-frame axes.positionY- cartesian y coordinate of body position to be set resolved along ECEF-frame axes.positionZ- cartesian z coordinate of body position to be set resolved along ECEF-frame axes.
-
ECEFFrame
public ECEFFrame(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 ECEF-frame axes.y- cartesian y coordinate of body position expressed in meters (m) and resolved along ECEF-frame axes.z- cartesian z coordinate of body position expressed in meters (m) and resolved along ECEF-frame axes.vx- x coordinate of velocity of body frame expressed in meters per second (m/s) and resolved along ECEF-frame axes.vy- y coordinate of velocity of body frame expressed in meters per second (m/s) and resolved along ECEF-frame axes.vz- z coordinate of velocity of body frame expressed in meters per second (m/s) and resolved along ECEF-frame axes.
-
ECEFFrame
public ECEFFrame(com.irurueta.geometry.Point3D position, double vx, double vy, double vz) Constructor.- Parameters:
position- body position expressed in meters (m) and resolved along ECEF-frame axes.vx- x coordinate of velocity of body frame expressed in meters per second (m/s) and resolved along ECEF-frame axes.vy- y coordinate of velocity of body frame expressed in meters per second (m/s) and resolved along ECEF-frame axes.vz- z coordinate of velocity of body frame expressed in meters per second (m/s) and resolved along ECEF-frame axes.
-
ECEFFrame
public ECEFFrame(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 ECEF-frame axes.speedX- x coordinate of velocity to be set resolved along ECEF-frame axes.speedY- y coordinate of velocity to be set resolved along ECEF-frame axes.speedZ- z coordinate of velocity to be set resolved along ECEF-frame axes.
-
ECEFFrame
public ECEFFrame(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 ECEF frame, resolved along ECEF-frame axes.y- cartesian y coordinate of body position expressed in meters (m) with respect ECEF frame, resolved along ECEF-frame axes.z- cartesian z coordinate of body position expressed in meters (m) with respect ECEF frame, resolved along ECEF-frame axes.speedX- x coordinate of velocity to be set resolved along ECEF-frame axes.speedY- y coordinate of velocity to be set resolved along ECEF-frame axes.speedZ- z coordinate of velocity to be set resolved along ECEF-frame axes.
-
ECEFFrame
public ECEFFrame(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 ECEF-frame axes.positionY- cartesian y coordinate of body position to be set, resolved along ECEF-frame axes.positionZ- cartesian z coordinate of body position to be set, resolved along ECEF-frame axes.vx- x coordinate of velocity of body frame expressed in meters per second (m/s) and resolved along ECEF-frame axes.vy- y coordinate of velocity of body frame expressed in meters per second (m/s) and resolved along ECEF-frame axes.vz- z coordinate of velocity of body frame expressed in meters per second (m/s) and resolved along ECEF-frame axes.
-
ECEFFrame
public ECEFFrame(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 ECEF-frame axes.positionY- cartesian y coordinate of body position to be set, resolved along ECEF-frame axes.positionZ- cartesian z coordinate of body position to be set, resolved along ECEF-frame axes.speedX- x coordinate of velocity to be set, resolved along ECEF-frame axes.speedY- y coordinate of velocity to be set, resolved along ECEF-frame axes.speedZ- z coordinate of velocity to be set, resolved along ECEF-frame axes.
-
-
Method Details
-
getECEFPosition
Gets cartesian position.- Returns:
- cartesian position.
-
getECEFVelocity
Gets cartesian velocity.- Returns:
- cartesian velocity.
-
getPositionAndVelocity
Gets cartesian position and velocity.- Returns:
- cartesian position and velocity.
-
getCoordinateTransformation
Gets coordinate transformation matrix.- Specified by:
getCoordinateTransformationin interfaceFrame- Returns:
- coordinate transformation matrix.
-
clone
Makes a copy of this instance.- Overrides:
clonein classObject- Returns:
- a copy of this instance.
- Throws:
CloneNotSupportedException- if clone fails for some reason.