|
LRAUV
revA
|
Wraps three double precision (8-byte) floating point numbers. More...
#include <Point3D.h>


Public Member Functions | |
| void | setX (const double x) |
| X positive along the vehicle axis, starting at the nose. More... | |
| double | getX () const |
| void | setY (const double y) |
| Y. More... | |
| double | getY () const |
| void | setZ (const double z) |
| Z. More... | |
| double | getZ () const |
| void | setU (const double u) |
| U – shares storage with X, alias for dX/dt. More... | |
| double | getU () const |
| void | setV (const double v) |
| V – shares storage with Y, alias for dY/dt. More... | |
| double | getV () const |
| void | setW (const double w) |
| W – shares storage with Z, alias for dZ/dt. More... | |
| double | getW () const |
| Point3D () | |
| Default constructior. More... | |
| Point3D (const double &init) | |
| Single value constructior. More... | |
| Point3D (const double &x, const double &y, const double &z) | |
| Multi value constructior. More... | |
| Point3D (const Point3D &value) | |
| Copy Constructor. More... | |
| virtual | ~Point3D () |
| Destructor. More... | |
| Point3D * | copy () const |
| Return a pointer to a new copy. More... | |
| virtual Str | toString () const |
| Point3D & | operator= (const Point3D &rhs) |
| Point3D & | operator= (const double rhs) |
| Point3D & | operator+= (const Point3D &rhs) |
| Point3D & | operator+= (const double rhs) |
| Point3D | operator+ (const Point3D &rhs) |
| Point3D & | operator-= (const Point3D &rhs) |
| Point3D | operator- (const Point3D &rhs) |
| Point3D & | operator-= (const double rhs) |
| Point3D & | operator*= (const Point3D &rhs) |
| Point3D | operator* (const double rhs) |
| Point3D & | operator*= (const double rhs) |
| Point3D & | addProduct (Matrix3x3 &lhs, Point3D &rhs) |
| Point3D & | toAbs () |
| double | getMagnitude () const |
| double & | operator[] (int index) |
| const double | sum () const |
| const double | sumSquared () const |
| virtual double * | getPtr1d () |
| Implement abstract I1D method. More... | |
| virtual int | getM () const |
| Implement abstract I2D method. More... | |
Public Member Functions inherited from I1D< double > | |
| virtual | ~I1D () |
Protected Attributes | |
| double | value_ [3] |
Additional Inherited Members | |
Static Public Member Functions inherited from I1D< double > | |
| static double * | New1D (int m, bool extra=false) |
| static void | Delete1D (double *array) |
Protected Member Functions inherited from I1D< double > | |
| I1D () | |
| I1D (const I1D &) | |
Wraps three double precision (8-byte) floating point numbers.
The 3 numbers are normally accessed as
| Point3D::Point3D | ( | ) |
| Point3D::Point3D | ( | const double & | init | ) |
| Point3D::Point3D | ( | const double & | x, |
| const double & | y, | ||
| const double & | z | ||
| ) |
| Point3D::Point3D | ( | const Point3D & | value | ) |
|
inlinevirtual |
Destructor.
References Matrix3x3::getPtr1d(), getPtr1d(), getX(), getY(), getZ(), setX(), setY(), and setZ().
Referenced by DeadReckonUsingCompactModelForecast::deadReckon(), DeadReckoner::deadReckon(), DAT::getSimulatedMeasurements(), DAT::phasesToDirectionInVehicleFrame(), Rowe_600::processEnsemble(), Tracking::processFromDAT(), ExternalSim::publishState(), Rowe_600::readBottomTrackMatrix(), and Rowe_600::rotateDataIntoVehicleFrame().
|
inlinevirtual |
Implement abstract I2D method.
Implements I1D< double >.
| double Point3D::getMagnitude | ( | ) | const |
References value_.
Referenced by AHRS_sp3003D::AHRS_sp3003D(), DeadReckonUsingCompactModelForecast::deadReckon(), DVL_micro::DVL_micro(), DAT::phaseToUnitVector(), PNI_TCM::PNI_TCM(), Rowe_600::preprocessData(), DeadReckonUsingDVLWaterTrack::readVehicleVelocity(), DeadReckonWithRespectToSeafloor::readVehicleVelocity(), DeadReckonUsingMultipleVelocitySources::readVehicleVelocity(), and Rowe_600::reportBottomTrackComponents().
|
inlinevirtual |
Implement abstract I1D method.
Implements I1D< double >.
References value_.
Referenced by addProduct(), and Matrix3x3::mult().
|
inline |
|
inline |
|
inline |
|
inline |
References value_.
Referenced by addProduct(), Point6D::addProduct(), Simulator::calcForce(), DeadReckonUsingCompactModelForecast::deadReckon(), DeadReckoner::deadReckon(), Simulator::invertMass(), operator*(), operator*=(), operator+(), operator+=(), Point6D::operator+=(), operator-(), operator-=(), operator=(), DAT::phasesToDirectionInVehicleFrame(), Point3D(), Tracking::processFromDAT(), ExternalSim::publishState(), Tracking::readFromDAT(), sum(), sumSquared(), toAbs(), and Tracking::writeData().
|
inline |
References value_.
Referenced by addProduct(), Point6D::addProduct(), Simulator::calcForce(), DeadReckonUsingCompactModelForecast::deadReckon(), DeadReckoner::deadReckon(), Simulator::invertMass(), operator*(), operator*=(), operator+(), operator+=(), Point6D::operator+=(), operator-(), operator-=(), operator=(), DAT::phasesToDirectionInVehicleFrame(), Point3D(), Tracking::processFromDAT(), ExternalSim::publishState(), Tracking::readFromDAT(), sum(), sumSquared(), toAbs(), and Tracking::writeData().
|
inline |
References value_.
Referenced by addProduct(), Point6D::addProduct(), Simulator::calcForce(), DeadReckonUsingCompactModelForecast::deadReckon(), DeadReckoner::deadReckon(), Simulator::invertMass(), operator*(), operator*=(), operator+(), operator+=(), Point6D::operator+=(), operator-(), operator-=(), operator=(), DAT::phasesToDirectionInVehicleFrame(), Point3D(), Tracking::processFromDAT(), ExternalSim::publishState(), Tracking::readFromDAT(), sum(), sumSquared(), and toAbs().
| Point3D Point3D::operator* | ( | const double | rhs | ) |
| Point3D & Point3D::operator*= | ( | const double | rhs | ) |
| Point3D & Point3D::operator+= | ( | const double | rhs | ) |
| Point3D & Point3D::operator-= | ( | const double | rhs | ) |
| double & Point3D::operator[] | ( | int | index | ) |
References value_.
|
inline |
U – shares storage with X, alias for dX/dt.
References value_.
Referenced by Simulator::calcFinForces(), DVL_micro::processNQ1(), Simulator::publishState(), DeadReckonUsingSpeedCalculator::readVehicleVelocity(), DeadReckonWithRespectToWater::readVehicleVelocity(), DeadReckonUsingCompactModelForecast::readVehicleVelocity(), DeadReckonUsingMultipleVelocitySources::readVehicleVelocity(), Rowe_600LCM::runnable(), and EnvSimulator::simulateSensors().
|
inline |
V – shares storage with Y, alias for dY/dt.
References value_.
Referenced by Simulator::calcFinForces(), DVL_micro::processNQ1(), Simulator::publishState(), DeadReckonUsingSpeedCalculator::readVehicleVelocity(), DeadReckonWithRespectToWater::readVehicleVelocity(), DeadReckonUsingCompactModelForecast::readVehicleVelocity(), DeadReckonUsingMultipleVelocitySources::readVehicleVelocity(), Rowe_600LCM::runnable(), and EnvSimulator::simulateSensors().
|
inline |
W – shares storage with Z, alias for dZ/dt.
References value_.
Referenced by Simulator::calcFinForces(), DVL_micro::processNQ1(), DeadReckonUsingSpeedCalculator::readVehicleVelocity(), DeadReckonWithRespectToWater::readVehicleVelocity(), DeadReckonUsingCompactModelForecast::readVehicleVelocity(), DeadReckonUsingMultipleVelocitySources::readVehicleVelocity(), Rowe_600LCM::runnable(), and EnvSimulator::simulateSensors().
|
inline |
X positive along the vehicle axis, starting at the nose.
References value_.
Referenced by addProduct(), AuvMath::AzimuthAndElevationToUnitVector(), Simulator::calcFinForces(), Simulator::calcForce(), Simulator::loadParams(), Matrix3x3::mult(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator=(), Point3D(), and toAbs().
|
inline |
Y.
References value_.
Referenced by addProduct(), AuvMath::AzimuthAndElevationToUnitVector(), Simulator::calcFinForces(), Simulator::calcForce(), Simulator::loadParams(), Matrix3x3::mult(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator=(), Point3D(), and toAbs().
|
inline |
Z.
References value_.
Referenced by addProduct(), AuvMath::AzimuthAndElevationToUnitVector(), Simulator::calcFinForces(), Simulator::calcForce(), Simulator::loadParams(), Matrix3x3::mult(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator=(), Point3D(), and toAbs().
|
protected |
Referenced by getMagnitude(), getPtr1d(), getU(), getV(), getW(), getX(), getY(), getZ(), operator[](), setU(), setV(), setW(), setX(), setY(), setZ(), and toString().