A floating-point 4-dimensional point.
|
char * | VuoPoint4d_getSummary (const VuoPoint4d value) |
| Returns a compact string representation of value (comma-separated coordinates). More...
|
|
VuoPoint4d | VuoPoint4d_makeFromJson (struct json_object *js) |
|
Decodes the JSON object js to create a new value. More...
|
|
struct json_object * | VuoPoint4d_getJson (const VuoPoint4d value) |
| Encodes value as a JSON object. More...
|
|
bool | VuoPoint4d_areEqual (const VuoPoint4d value1, const VuoPoint4d value2) |
| Returns true if the two points are equal (within tolerance). More...
|
|
VuoPoint4d | VuoPoint4d_random (const VuoPoint4d minimum, const VuoPoint4d maximum) |
| Returns a pseudorandom value where each component is between minimum and maximum . More...
|
|
VuoPoint4d | VuoPoint4d_randomWithState (unsigned short state[3], const VuoPoint4d minimum, const VuoPoint4d maximum) |
| Returns a pseudorandom value where each component is between minimum and maximum . More...
|
|
static VuoPoint4d | VuoPoint4d_make (float x, float y, float z, float w) __attribute__((const)) |
| Returns a VuoPoint4d with the specified coordinates. More...
|
|
static VuoPoint4d | VuoPoint4d_crossProduct (VuoPoint4d u, VuoPoint4d v) __attribute__((const)) |
| Returns the 3D cross-product of u and v (ignoring the w coordinate). More...
|
|
static float | VuoPoint4d_dotProduct (VuoPoint4d u, VuoPoint4d v) __attribute__((const)) |
| Returns the dot product of u , v . More...
|
|
static float | VuoPoint4d_magnitude (VuoPoint4d a) __attribute__((const)) |
| Returns the magnitude of the vector. More...
|
|
static VuoPoint4d | VuoPoint4d_normalize3d (VuoPoint4d a) __attribute__((const)) |
| Returns the 3D normalization of a (ignoring the w coordinate). More...
|
|
static VuoPoint4d | VuoPoint4d_normalize (VuoPoint4d a) __attribute__((const)) |
| Returns the 4D normalization of a . More...
|
|
static VuoPoint4d | VuoPoint4d_add (VuoPoint4d a, VuoPoint4d b) __attribute__((const)) |
| a + b . More...
|
|
static VuoPoint4d | VuoPoint4d_subtract (VuoPoint4d a, VuoPoint4d b) __attribute__((const)) |
| a - b . More...
|
|
static float | VuoPoint4d_squaredMagnitude (VuoPoint4d a) __attribute__((const)) |
| Returns the magnitude of the vector. More...
|
|
static VuoPoint4d | VuoPoint4d_divide (VuoPoint4d a, VuoPoint4d b) __attribute__((const)) |
| Component-wise division. More...
|
|
static VuoPoint4d | VuoPoint4d_multiply (VuoPoint4d a, float b) __attribute__((const)) |
| a * b More...
|
|
static VuoPoint4d | VuoPoint4d_scale (VuoPoint4d a, VuoPoint4d b) __attribute__((const)) |
| Returns component-wise multiplication of two VuoPoint4d vectors. More...
|
|
static VuoPoint4d | VuoPoint4d_makeNonzero (VuoPoint4d a) __attribute__((const)) |
| If any component of the value is zero or very close to zero, moves it further from zero (either 0.000001 or -0.000001). More...
|
|
static float | VuoPoint4d_distance (VuoPoint4d a, VuoPoint4d b) __attribute__((const)) |
| Distance between a and b . More...
|
|
static VuoPoint4d | VuoPoint4d_snap (VuoPoint4d a, VuoPoint4d center, VuoPoint4d snap) __attribute__((const)) |
| Returns a component-wise snap value using a center point and snap value. More...
|
|
static VuoPoint4d | VuoPoint4d_clampn (VuoPoint4d point, VuoPoint4d limitA, VuoPoint4d limitB) |
| Limits point to values between limitA and limitB , inclusive. More...
|
|
VuoPoint4d | VuoPoint4d_makeFromString (const char *str) |
| Automatically generated function. More...
|
|
char * | VuoPoint4d_getString (const VuoPoint4d value) |
| Automatically generated function. More...
|
|
void | VuoPoint4d_retain (VuoPoint4d value) |
| Automatically generated function. More...
|
|
void | VuoPoint4d_release (VuoPoint4d value) |
| Automatically generated function. More...
|
|