|
liba 0.1.15
An algorithm library based on C/C++
|
three-dimensional point More...
Go to the source code of this file.
Data Structures | |
| struct | a_point3 |
| instance structure for three-dimensional point More... | |
Macros | |
| #define | A_POINT3_C(x, y, z) |
| #define | a_point3_c(x) |
| #define | a_point3_(_, x) |
| #define | A_INTERN A_PUBLIC extern |
| #define | A_INTERN static A_INLINE |
Typedefs | |
| typedef struct a_point3 | a_point3 |
| typedef struct a_point3 | a::point3 |
Functions | |
| void | a_vector3_set (a_vector3 *ctx, a_point3 const *p, a_point3 const *q) |
| void | a_point3_val (a_point3 const *ctx, a_real *x, a_real *y, a_real *z) |
| void | a_point3_set_val (a_point3 *ctx, a_real x, a_real y, a_real z) |
| void | a_point3_pol (a_point3 const *ctx, a_real *rho, a_real *theta, a_real *z) |
| void | a_point3_set_pol (a_point3 *ctx, a_real rho, a_real theta, a_real z) |
| void | a_point3_sph (a_point3 const *ctx, a_real *rho, a_real *theta, a_real *alpha) |
| void | a_point3_set_sph (a_point3 *ctx, a_real rho, a_real theta, a_real alpha) |
| void | a_point3_add (a_point3 const *lhs, a_vector3 const *rhs, a_point3 *res) |
| void | a_point3_sub (a_point3 const *lhs, a_vector3 const *rhs, a_point3 *res) |
| void | a_point3_mul (a_point3 const *lhs, a_real rhs, a_point3 *res) |
| void | a_point3_div (a_point3 const *lhs, a_real rhs, a_point3 *res) |
| void | a_point3_pos (a_point3 const *ctx, a_vector3 *res) |
| void | a_point3_neg (a_point3 const *ctx, a_vector3 *res) |
| a_real | a_point3_dist (a_point3 const *lhs, a_point3 const *rhs) |
| a_real | a_point3_dist1 (a_point3 const *lhs, a_point3 const *rhs) |
| a_real | a_point3_dist2 (a_point3 const *lhs, a_point3 const *rhs) |
three-dimensional point