Vuo 2.4.4
Loading...
Searching...
No Matches
Functions
VuoPoint3d.c File Reference

Description

VuoPoint3d implementation.

Definition in file VuoPoint3d.c.

Go to the source code of this file.

Functions

VuoPoint3d VuoPoint3d_makeFromJson (json_object *js)
 Decodes the JSON object js to create a new value.
 
json_object * VuoPoint3d_getJson (const VuoPoint3d value)
 Encodes value as a JSON object.
 
char * VuoPoint3d_getSummary (const VuoPoint3d value)
 Returns a compact string representation of value (comma-separated coordinates).
 
bool VuoPoint3d_areEqual (const VuoPoint3d value1, const VuoPoint3d value2)
 Returns true if the two points are equal (within tolerance).
 
bool VuoPoint3d_areEqualListWithinTolerance (VuoList_VuoPoint3d values, VuoPoint3d tolerance)
 Returns true if the two values are equal within component-wise tolerance.
 
bool VuoPoint3d_isLessThan (const VuoPoint3d a, const VuoPoint3d b)
 Compares a to b primarily by x-value, secondarily by y-value, and finally by z-value, returning true if a is less than b.
 
bool VuoPoint3d_isWithinRange (VuoPoint3d value, VuoPoint3d minimum, VuoPoint3d maximum)
 Returns true if each component of value is between minimum and maximum.
 
VuoPoint3d VuoPoint3d_minList (VuoList_VuoPoint3d values, VuoInteger *outputPosition)
 Returns the minimum of a list of terms, or 0 if the array is empty.
 
VuoPoint3d VuoPoint3d_maxList (VuoList_VuoPoint3d values, VuoInteger *outputPosition)
 Returns the maximum of a list of terms, or 0 if the array is empty.
 
VuoPoint3d VuoPoint3d_average (VuoList_VuoPoint3d values)
 Returns the average of the values in the list, or 0 if the list is empty.
 
VuoPoint3d VuoPoint3d_random (const VuoPoint3d minimum, const VuoPoint3d maximum)
 Returns a pseudorandom value where each component is between minimum and maximum.
 
VuoPoint3d VuoPoint3d_randomWithState (unsigned short state[3], const VuoPoint3d minimum, const VuoPoint3d maximum)
 Returns a pseudorandom value where each component is between minimum and maximum.