OmniSciDB
a5dc49c757
|
2D floating point vector functions. More...
#include "QueryEngine/ExtensionFunctions/h3lib/include/h3api.h"
#include "QueryEngine/ExtensionFunctions/h3lib/lib/vec2d.hpp"
Go to the source code of this file.
Macros | |
#define | X_INDEX 0 |
#define | Y_INDEX 1 |
#define | Vec2d(variable_name) double variable_name[2] |
#define | Vec2dArray(variable_name, size) double variable_name[size][2] |
Functions | |
EXTENSION_INLINE double | _v2dMag (const Vec2d(v)) |
2D floating point vector functions.
Definition in file vec2d.h.
#define Vec2d | ( | variable_name | ) | double variable_name[2] |
Definition at line 28 of file vec2d.h.
Referenced by _faceIjkToGeo(), and _geoToFaceIjk().
#define Vec2dArray | ( | variable_name, | |
size | |||
) | double variable_name[size][2] |
#define X_INDEX 0 |
Definition at line 26 of file vec2d.h.
Referenced by _geoToHex2d(), _geoToVec3d(), _hex2dToCoordIJK(), _hex2dToGeo(), _ijkToHex2d(), _pointSquareDist(), and _v2dMag().
#define Y_INDEX 1 |
Definition at line 27 of file vec2d.h.
Referenced by _geoToHex2d(), _geoToVec3d(), _hex2dToCoordIJK(), _hex2dToGeo(), _ijkToHex2d(), _pointSquareDist(), and _v2dMag().
EXTENSION_INLINE double _v2dMag | ( | const | Vec2dv | ) |
Calculates the magnitude of a 2D cartesian vector.
v | The 2D cartesian vector. |
Definition at line 30 of file vec2d.hpp.
References X_INDEX, and Y_INDEX.
Referenced by _hex2dToGeo().