A floating-point 3-dimensional Cartesian spatial location.
|
VuoPoint3d | VuoPoint3d_valueFromJson (json_object *js) |
| Decodes the JSON object js to create a new value.
|
|
char * | VuoPoint3d_summaryFromValue (const VuoPoint3d value) |
| Returns a compact string representation of value (comma-separated coordinates).
|
|
struct json_object * | VuoPoint3d_jsonFromValue (const VuoPoint3d value) |
| Encodes value as a JSON object.
|
|
static VuoPoint3d | VuoPoint3d_make (float x, float y, float z) __attribute__((const )) |
| Returns a point with the specified coordinates.
|
|
static VuoPoint3d | VuoPoint3d_crossProduct (VuoPoint3d u, VuoPoint3d v) __attribute__((const )) |
| Returns the cross-product of u and v .
|
|
static float | VuoPoint3d_dotProduct (VuoPoint3d u, VuoPoint3d v) __attribute__((const )) |
| Returns the dot product of u , v .
|
|
static float | VuoPoint3d_magnitude (VuoPoint3d a) __attribute__((const )) |
| Returns the magnitude of the vector.
|
|
static VuoPoint3d | VuoPoint3d_normalize (VuoPoint3d a) __attribute__((const )) |
| Returns the normalization of a .
|
|
static VuoPoint3d | VuoPoint3d_add (VuoPoint3d a, VuoPoint3d b) __attribute__((const )) |
| a + b .
|
|
static VuoPoint3d | VuoPoint3d_subtract (VuoPoint3d a, VuoPoint3d b) __attribute__((const )) |
| a - b .
|
|
static float | VuoPoint3d_squaredMagnitude (VuoPoint3d a) __attribute__((const )) |
| Returns the magnitude of the vector.
|
|
static VuoPoint3d | VuoPoint3d_divide (VuoPoint3d a, float b) __attribute__((const )) |
| a / b
|
|
static VuoPoint3d | VuoPoint3d_multiply (VuoPoint3d a, float b) __attribute__((const )) |
| a * b
|
|
static float | VuoPoint3d_distance (VuoPoint3d a, VuoPoint3d b) __attribute__((const )) |
| Distance between a and b .
|
|
static VuoPoint3d | VuoPoint3d_lerp (VuoPoint3d a, VuoPoint3d b, float t) __attribute__((const )) |
| Returns a linearly interpolated value between a and b using time t .
|
|
static VuoPoint3d | VuoPoint3d_scale (VuoPoint3d a, VuoPoint3d b) __attribute__((const )) |
| Returns component-wise multiplication of two VuoPoint3d vectors.
|
|
static VuoPoint3d | VuoPoint3d_spring (VuoReal timeSinceDrop, VuoPoint3d dropPosition, VuoPoint3d restingPosition, VuoReal period, VuoReal damping) |
| Calculates a position along the path of an oscillating spring.
|
|
static VuoPoint3d | VuoPoint3d_clamp (VuoPoint3d point, VuoReal min, VuoReal max) |
| Limits point to values between min and max , inclusive.
|
|
static VuoPoint3d | VuoPoint3d_bezier3 (VuoPoint3d p0, VuoPoint3d p1, VuoPoint3d p2, VuoPoint3d p3, VuoReal time) |
| Calculates a position along a cubic bezier curve.
|
|
static VuoPoint3d | VuoPoint3d_snap (VuoPoint3d a, VuoPoint3d center, VuoPoint3d snap) |
| Snap value a to the nearest increment of value snap.
|
|
VuoPoint4d | VuoPoint4d_valueFromJson (json_object *js) |
| Decodes the JSON object js to create a new value.
|
|
VuoPoint3d | VuoPoint3d_valueFromString (const char *str) |
| Automatically generated function.
|
|
char * | VuoPoint3d_stringFromValue (const VuoPoint3d value) |
| Automatically generated function.
|
|