A floating-point 4-dimensional point.
|
char * | VuoPoint4d_summaryFromValue (const VuoPoint4d value) |
| Returns a compact string representation of value (comma-separated coordinates).
|
|
VuoPoint4d | VuoPoint4d_valueFromJson (struct json_object *js) |
| Decodes the JSON object js to create a new value.
|
|
struct json_object * | VuoPoint4d_jsonFromValue (const VuoPoint4d value) |
| Encodes value as a JSON object.
|
|
static VuoPoint4d | VuoPoint4d_make (float x, float y, float z, float w) __attribute__((const )) |
| Returns a VuoPoint4d with the specified coordinates.
|
|
static VuoPoint4d | VuoPoint4d_crossProduct (VuoPoint4d u, VuoPoint4d v) __attribute__((const )) |
| Returns the 3D cross-product of u and v (ignoring the w coordinate).
|
|
static float | VuoPoint4d_dotProduct (VuoPoint4d u, VuoPoint4d v) __attribute__((const )) |
| Returns the dot product of u , v .
|
|
static float | VuoPoint4d_magnitude (VuoPoint4d a) __attribute__((const )) |
| Returns the magnitude of the vector.
|
|
static VuoPoint4d | VuoPoint4d_normalize3d (VuoPoint4d a) __attribute__((const )) |
| Returns the 3D normalization of a (ignoring the w coordinate).
|
|
static VuoPoint4d | VuoPoint4d_normalize (VuoPoint4d a) __attribute__((const )) |
| Returns the 4D normalization of a .
|
|
static VuoPoint4d | VuoPoint4d_add (VuoPoint4d a, VuoPoint4d b) __attribute__((const )) |
| a + b .
|
|
static VuoPoint4d | VuoPoint4d_subtract (VuoPoint4d a, VuoPoint4d b) __attribute__((const )) |
| a - b .
|
|
static float | VuoPoint4d_squaredMagnitude (VuoPoint4d a) __attribute__((const )) |
| Returns the magnitude of the vector.
|
|
static VuoPoint4d | VuoPoint4d_divide (VuoPoint4d a, float b) __attribute__((const )) |
| a / b
|
|
static VuoPoint4d | VuoPoint4d_multiply (VuoPoint4d a, float b) __attribute__((const )) |
| a * b
|
|
static float | VuoPoint4d_distance (VuoPoint4d a, VuoPoint4d b) __attribute__((const )) |
| Distance between a and b .
|
|
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.
|
|
VuoPoint4d | VuoPoint4d_valueFromString (const char *str) |
| Automatically generated function.
|
|
char * | VuoPoint4d_stringFromValue (const VuoPoint4d value) |
| Automatically generated function.
|
|
void | VuoPoint4d_retain (VuoPoint4d value) |
| Automatically generated function.
|
|
void | VuoPoint4d_release (VuoPoint4d value) |
| Automatically generated function.
|
|