![]() |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
Position fixing. More...
#include <vessels_interface.h>
Public Member Functions | |
| virtual SDKResult SDK_CALLTYPE | GetAvailableTechnique (PosFixTechnique &technique) const =0 throw () |
| Returns the best available fixing technique. More... | |
| virtual SDKResult SDK_CALLTYPE | CalculateFixedPosition (const SDKTime &time, const SDKGeoPoint &dr_pos, SDKGeoPoint &fixed_pos, FixAdvice &advice, PosFixTechnique &technique)=0 throw () |
| Calculates the fixed position. More... | |
| virtual SDKResult SDK_CALLTYPE | AcceptFixedPosition ()=0 throw () |
| Accept previously calculated fixed position. More... | |
| virtual SDKResult SDK_CALLTYPE | GetConfidenceEllipse (double &a, double &b, double &alpha)=0 throw () |
| Returns the confidence ellipse parameters (if available) for the last observation. More... | |
| virtual SDKResult SDK_CALLTYPE | GetConfidenceCircle (double &r)=0 throw () |
| Returns the radius of confidence circle (if available) for the last observation. More... | |
| virtual SDKResult SDK_CALLTYPE | AddBearing (const SDKTime &time, const SDKGeoPoint &pos_from, double bearing, const SDKGeoPoint &curr_pos, double bearing_error, SDKUInt16 &ref_point_id)=0 throw () |
| Adds bearing data for one LOP. More... | |
| virtual SDKResult SDK_CALLTYPE | AddRunningBearing (SDKUInt16 ref_point_id, const SDKTime &time, double bearing, const SDKGeoPoint &curr_pos, double bearing_error)=0 throw () |
| Adds bearing data for the later LOP (Running fix). More... | |
| virtual SDKResult SDK_CALLTYPE | AddDistance (const SDKTime &time, const SDKGeoPoint &pos_from, double distance, const SDKGeoPoint &curr_pos, double distance_error, SDKUInt16 &ref_point_id)=0 throw () |
| Adds distance data for one LOP. More... | |
| virtual SDKResult SDK_CALLTYPE | AddRunningDistance (SDKUInt16 ref_point_id, const SDKTime &time, double distance, const SDKGeoPoint &curr_pos, double distance_error)=0 throw () |
| Adds distance data for the later LOP (Running fix). More... | |
| virtual SDKResult SDK_CALLTYPE | AddBearingDistance (const SDKTime &time, const SDKGeoPoint &pos_from, double bearing, double distance, const SDKGeoPoint &curr_pos, double bearing_error, double distance_error, SDKUInt16 &ref_point_id)=0 throw () |
| Adds bearing and distance data for one LOP. More... | |
| virtual SDKResult SDK_CALLTYPE | Clear ()=0 throw () |
| Clears stored LOPs. | |
| virtual SDKResult SDK_CALLTYPE | GetPositionFixingWks (IWorkspace **wks)=0 throw () |
| Returns the pointer to the IWorkspace interface. More... | |
Public Member Functions inherited from ISDKComponent | |
| virtual SDKAtomicRefCount SDK_CALLTYPE | AddRef () const =0 throw () |
| Increments the reference count for an interface on a component. | |
| virtual SDKAtomicRefCount SDK_CALLTYPE | Release () const =0 throw () |
| Decrements the reference count for an interface on a component. | |
| virtual SDKResult SDK_CALLTYPE | GetInterface (const InterfaceId &id, void **obj_ptr)=0 throw () |
| Returns pointers to the supported interfaces on a component. | |
| template<typename _Itf > | |
| SDKResult | GetInterface (_Itf **obj_ptr) throw () |
| Returns pointers to the supported interfaces on a component. | |
Position fixing.
|
pure virtual | ||||||||||||||
Returns the best available fixing technique.
| [out] | technique | Used position fixing technique or kPosFixTechnique_none if no fixing technique is available. |
|
pure virtual | ||||||||||||||||||||||||||||||||
Calculates the fixed position.
| [in] | time | Time zero for the observation. |
| [in] | dr_pos | Current (DR) position. |
| [out] | fixed_pos | Fixed position. |
| [out] | advice | Advice to accept or not the fixed position. |
| [out] | technique | Used position fixing technique or kPosFixTechnique_none if no fixing technique is available. |
|
pure virtual | |||||||||||||
Accept previously calculated fixed position.
|
pure virtual | ||||||||||||||||||||||||
Returns the confidence ellipse parameters (if available) for the last observation.
| [out] | a | Semi-major axis of ellipse (in NM). |
| [out] | b | Semi-minor axis of ellipse (in NM). |
| [out] | alpha | Orientation of semi-major axis (in degrees). |
|
pure virtual | ||||||||||||||
Returns the radius of confidence circle (if available) for the last observation.
| [out] | r | Radius of confidence circle (in NM). |
|
pure virtual | ||||||||||||||||||||||||||||||||||||
Adds bearing data for one LOP.
| [in] | time | Time stamp. |
| [in] | pos_from | Position of reference point. |
| [in] | bearing | Bearing to the reference point. |
| [in] | curr_pos | Current vessel position at the measurement moment. |
| [in] | bearing_error | (optional) Bearing parameter error (in degrees). |
| [out] | ref_point_id | Reference point identifier (>= 1), 0 if failed to add LOP |
|
pure virtual | ||||||||||||||||||||||||||||||||
Adds bearing data for the later LOP (Running fix).
| [in] | ref_point_id | ID of reference point. |
| [in] | time | Time stamp. |
| [in] | bearing | Later bearing to the reference point. |
| [in] | curr_pos | Current vessel position at the measurement moment. |
| [in] | bearing_error | (optional) Bearing parameter error (in degrees). |
|
pure virtual | ||||||||||||||||||||||||||||||||||||
Adds distance data for one LOP.
| [in] | time | Time stamp. |
| [in] | pos_from | Position of reference point. |
| [in] | distance | Distance to the reference point (in NM). |
| [in] | curr_pos | Current vessel position at the measurement moment. |
| [in] | distance_error | (optional) Distance parameter error (in NM). |
| [out] | ref_point_id | Reference point identifier (>= 1), 0 if failed to add LOP |
|
pure virtual | ||||||||||||||||||||||||||||||||
Adds distance data for the later LOP (Running fix).
| [in] | id | ID of the added before LOP. |
| [in] | time | Time stamp. |
| [in] | distance | Later distance to the reference point (in NM). |
| [in] | curr_pos | Current vessel position at the measurement moment. |
| [in] | distance_error | (optional) Distance parameter error (in NM). |
|
pure virtual | ||||||||||||||||||||||||||||||||||||||||||||
Adds bearing and distance data for one LOP.
| [in] | time | Time stamp. |
| [in] | pos_from | Position of reference point. |
| [in] | bearing | Bearing to the reference point. |
| [in] | distance | Distance to the reference point. |
| [in] | curr_pos | Current vessel position at the measurement moment. |
| [in] | bearing_error | (optional) Bearing error (in degrees). |
| [in] | distance_error | (optional) Distance error (in NM). |
| [out] | ref_point_id | Reference point identifier (>= 1), 0 if failed to add LOP |
|
pure virtual | ||||||||||||||
Returns the pointer to the IWorkspace interface.
| [out] | wks | Address of a variable that receives the pointer to the IWorkspace interface. |