Vuo  1.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
VuoPoint2d.c File Reference

Description

VuoPoint2d implementation.

Functions

VuoRectangle VuoPoint2d_rectangleIntersection (VuoRectangle rectangleA, VuoRectangle rectangleB)
 Returns the intersecting area of rectangleA and rectangleB.
 
VuoRectangle VuoPoint2d_rectangleUnion (VuoRectangle rectangleA, VuoRectangle rectangleB)
 Returns the union area of rectangleA and rectangleB.
 
VuoPoint2d VuoPoint2d_makeFromJson (json_object *js)
 Decodes the JSON object js to create a new value.
 
json_objectVuoPoint2d_getJson (const VuoPoint2d value)
 Encodes value as a JSON object.
 
char * VuoPoint2d_getSummary (const VuoPoint2d value)
 Returns a compact string representation of value (comma-separated coordinates).
 
bool VuoPoint2d_areEqual (const VuoPoint2d value1, const VuoPoint2d value2)
 Returns true if the two points are equal (within tolerance).
 
VuoPoint2d VuoPoint2d_random (const VuoPoint2d minimum, const VuoPoint2d maximum)
 Returns a pseudorandom value where each component is between minimum and maximum.
 
VuoPoint2d VuoPoint2d_randomWithState (unsigned short state[3], const VuoPoint2d minimum, const VuoPoint2d maximum)
 Returns a pseudorandom value where each component is between minimum and maximum.