|
World Ocean Simulation System (WOSS) library
|
#include <uw-woss-position.h>


Public Member Functions | |
| WossPosition (double latitude, double longitude, double depth=0, double dist=woss::LOCATION_COMPARISON_DISTANCE) | |
| WossPosition (const woss::CoordZ &coordz=woss::CoordZ(), double dist=woss::LOCATION_COMPARISON_DISTANCE) | |
| virtual | ~WossPosition () override=default |
| virtual std::unique_ptr< Location > | create (double latitude, double longitude, double depth=0, double dist=woss::LOCATION_COMPARISON_DISTANCE) const |
| virtual std::unique_ptr< Location > | create (const woss::CoordZ &coordz=woss::CoordZ(), double dist=woss::LOCATION_COMPARISON_DISTANCE) const |
| virtual std::unique_ptr< Location > | clone () const |
| virtual int | command (int argc, const char *const *argv) override |
| virtual void | setLatitude (double val) |
| virtual void | setLongitude (double val) |
| virtual void | setDepth (double val) |
| virtual void | setAltitude (double val) |
| virtual void | setMinVerticalOrientation (double val) |
| virtual void | setMaxVerticalOrientation (double val) |
| virtual void | setX (double val) |
| virtual void | setY (double val) |
| virtual void | setZ (double val) |
| virtual double | getX () |
| virtual double | getY () |
| virtual double | getZ () |
| virtual double | getLatitude () |
| virtual double | getLongitude () |
| virtual double | getDepth () |
| virtual double | getAltitude () |
| virtual double | getMinVerticalOrientation () |
| virtual double | getMaxVerticalOrientation () |
Public Member Functions inherited from woss::Location | |
| Location (const CoordZ &coordz=CoordZ(), double dist=LOCATION_COMPARISON_DISTANCE) | |
| Location (double latitude, double longitude, double depth=0, double dist=LOCATION_COMPARISON_DISTANCE) | |
| Location (const Location ©)=default | |
| Location (Location &&tmp)=default | |
| virtual | ~Location ()=default |
| Location & | operator= (const Location ©)=default |
| Location & | operator= (Location &&tmp)=default |
| virtual bool | isValid () const |
| virtual bool | isEquivalentTo (const woss::CoordZ &coordz) |
| virtual void | setLocation (const CoordZ &coordz) |
| virtual void | setVerticalOrientation (double angle) |
| virtual void | setHorizontalOrientation (double angle) |
| virtual CoordZ | getLocation () |
| virtual double | getVerticalOrientation () |
| virtual double | getHorizontalOrientation () |
| virtual double | getBearing () |
Protected Attributes | |
| double | min_vertical_orientation |
| double | max_vertical_orientation |
Protected Attributes inherited from woss::Location | |
| double | comparison_distance |
| CoordZ | curr_coordz |
| double | vertical_orientation |
| double | horizontal_orientation |
| double | bearing |
| WossPosition::WossPosition | ( | double | latitude, |
| double | longitude, | ||
| double | depth = 0, |
||
| double | dist = woss::LOCATION_COMPARISON_DISTANCE |
||
| ) |
References woss::Location::comparison_distance, woss::Location::curr_coordz, woss::CoordZ::getCartX(), woss::CoordZ::getCartY(), woss::CoordZ::getCartZ(), max_vertical_orientation, min_vertical_orientation, and woss::Location::vertical_orientation.

| WossPosition::WossPosition | ( | const woss::CoordZ & | coordz = woss::CoordZ(), |
| double | dist = woss::LOCATION_COMPARISON_DISTANCE |
||
| ) |
References woss::Location::comparison_distance, woss::CoordZ::getCartX(), woss::CoordZ::getCartY(), woss::CoordZ::getCartZ(), woss::CoordZ::getDepth(), woss::Coord::getLatitude(), woss::Coord::getLongitude(), max_vertical_orientation, min_vertical_orientation, and woss::Location::vertical_orientation.

|
overridevirtualdefault |
|
inlinevirtual |
Location virtual factory method
Reimplemented from woss::Location.
|
overridevirtual |
Reimplemented in WossWpPosition.
References getDepth(), setAltitude(), and setDepth().
Referenced by WossWpPosition::command().

|
inlinevirtual |
Location virtual factory method
| coordz | coordinates |
| dist | distance comparison precision [m] |
Reimplemented from woss::Location.
|
inlinevirtual |
Location virtual factory method
| latitude | latitude value [decimal degrees] |
| longitude | longitude value [decimal degrees] |
| depth | depth value [m] |
| dist | distance comparison precision [m] |
Reimplemented from woss::Location.
|
virtual |
References woss::Location::getDepth().
Referenced by WossMPropagation::computeGain(), and WossMPropagation::getGain().

|
virtual |
Gets current depth
Reimplemented from woss::Location.
References woss::Location::getDepth().
Referenced by command(), WossWpPosition::command(), and WossChannelModule::computeCoordZPairVect().

|
virtual |
Gets current latitude
Reimplemented from woss::Location.
References woss::Location::getLatitude().
Referenced by WossWpPosition::command(), WossMPropagation::computeGain(), and WossMPropagation::getGain().

|
virtual |
Gets current longitude
Reimplemented from woss::Location.
References woss::Location::getLongitude().
Referenced by WossWpPosition::command(), WossMPropagation::computeGain(), and WossMPropagation::getGain().

|
virtual |
References max_vertical_orientation.
|
virtual |
References min_vertical_orientation.
|
virtual |
Gets current cartesian x-axis value
Reimplemented from woss::Location.
References woss::Location::getX().

|
virtual |
Gets current cartesian y-axis value
Reimplemented from woss::Location.
References woss::Location::getY().

|
virtual |
Gets current cartesian z-axis value
Reimplemented from woss::Location.
References woss::Location::getZ().

|
virtual |
References woss::Location::setDepth().
Referenced by command().

|
virtual |
Sets initial depth
| lat | valid depth [m] |
Reimplemented from woss::Location.
References woss::Location::setDepth().
Referenced by command().

|
virtual |
Sets initial latitude
| lat | valid latitude [decimal degrees] |
Reimplemented from woss::Location.
References woss::Location::setLatitude().

|
virtual |
Sets initial longitude
| lat | valid longitude [decimal degrees] |
Reimplemented from woss::Location.
References woss::Location::setLongitude().

|
virtual |
References max_vertical_orientation.
|
virtual |
References min_vertical_orientation.
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
protected |