VuoPoint4d implementation.
Definition in file VuoPoint4d.c.
Go to the source code of this file.
Functions | |
VuoPoint4d | VuoPoint4d_makeFromJson (json_object *js) |
json_object * | VuoPoint4d_getJson (const VuoPoint4d value) |
char * | VuoPoint4d_getSummary (const VuoPoint4d value) |
bool | VuoPoint4d_areEqual (const VuoPoint4d value1, const VuoPoint4d value2) |
Returns true if the two points are equal (within tolerance). More... | |
bool | VuoPoint4d_areEqualListWithinTolerance (VuoList_VuoPoint4d values, VuoPoint4d tolerance) |
Returns true if the two values are equal within component-wise tolerance . More... | |
bool | VuoPoint4d_isLessThan (const VuoPoint4d a, const VuoPoint4d b) |
Compares a to b primarily by x -value, secondarily by y -value, tertiarily by z -value, and finally by w -value, returning true if a is less than b . More... | |
bool | VuoPoint4d_isWithinRange (VuoPoint4d value, VuoPoint4d minimum, VuoPoint4d maximum) |
Returns true if each component of value is between minimum and maximum . More... | |
VuoPoint4d | VuoPoint4d_minList (VuoList_VuoPoint4d values, VuoInteger *outputPosition) |
Returns the minimum of a list of terms, or 0 if the array is empty. More... | |
VuoPoint4d | VuoPoint4d_maxList (VuoList_VuoPoint4d values, VuoInteger *outputPosition) |
Returns the maximum of a list of terms, or 0 if the array is empty. More... | |
VuoPoint4d | VuoPoint4d_average (VuoList_VuoPoint4d values) |
Returns the average of the values in the list, or 0 if the list is empty. 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... | |