nvector package¶
Geodesic functions¶
|
Returns closest point C on great circle path A to position B. |
|
Returns cross track distance between path A and position B. |
|
Returns Euclidean distance between positions A and B |
|
Returns great circle distance between positions A and B |
|
Returns the intersection(s) between the great circles of the two paths |
|
Converts latitude and longitude to n-vector. |
|
Returns the n-vector of the horizontal mean position. |
|
Converts n-vector to latitude and longitude. |
|
Converts n-vector to Cartesian position vector in meters. |
|
Converts Cartesian position vector in meters to n-vector. |
|
Returns the delta vector from position A to B decomposed in E. |
|
Returns position B from position A and delta. |
|
Returns azimuth from A to B, relative to North: |
|
Returns position B from azimuth and distance from position A |
|
True if position B is on great circle through path A. |
|
True if position B is on great circle and between endpoints of path A. |
Rotation matrices and angles¶
|
Returns rotation matrix R_Ee defining the axes of the coordinate frame E. |
|
Returns the rotation matrix R_EN from n-vector. |
|
Returns rotation matrix R_EL from n-vector and wander azimuth angle. |
|
Returns n-vector from the rotation matrix R_EL. |
|
Returns n-vector from the rotation matrix R_EN. |
|
Returns the angles about new axes in the xyz-order from a rotation matrix. |
|
Returns the angles about new axes in the zxy-order from a rotation matrix. |
|
Returns rotation matrix from 3 angles about new axes in the xyz-order. |
|
Returns rotation matrix from 3 angles about new axes in the zyx-order. |
Misc functions¶
|
Converts angle in radians to degrees. |
|
Returns multiple matrix multiplications of two arrays |
|
Returns the n’th root of x to machine precision |
|
Converts angle in degrees to radians. |
|
Returns semi-major axis (a), flattening (f) and name of ellipsoid |
|
Convert input vector to a vector of unit length. |
OO interface to Geodesic functions¶
|
Returns cartesian delta vector from positions a to b decomposed in E. |
|
Returns cartesian delta vector from positions a to b decomposed in N. |
|
Returns cartesian delta vector from positions a to b decomposed in L. |
|
diff_positions is deprecated! |
|
Geographical position given as Cartesian position vector in frame E |
|
Body frame |
|
Earth-fixed frame |
|
North-East-Down frame |
|
Local level, Wander azimuth frame |
|
Geographical position given as latitude, longitude, depth in frame E. |
|
Geographical path between two positions in Frame E |
|
Geographical position given as n-vector and depth in frame E |
|
Cartesian position vector in relative to a frame. |