VuoRectangle implementation.
Definition in file VuoRectangle.c.
Go to the source code of this file.
Functions | |
VuoRectangle | VuoRectangle_makeFromJson (json_object *js) |
json_object * | VuoRectangle_getJson (const VuoRectangle r) |
char * | VuoRectangle_getSummary (const VuoRectangle r) |
bool | VuoRectangle_areEqual (const VuoRectangle a, const VuoRectangle b) |
Returns true if the two rectangles are equal (within tolerance). More... | |
bool | VuoRectangle_isLessThan (const VuoRectangle a, const VuoRectangle b) |
Compares a to b primarily by center -value and secondarily by size -value, returning true if a is less than b . More... | |
bool | VuoRectangle_isPointInside (VuoRectangle r, VuoPoint2d p) |
Returns true if p is inside r . More... | |
VuoRectangle | VuoRectangle_intersection (VuoRectangle rectangleA, VuoRectangle rectangleB) |
Returns the intersecting area of rectangleA and rectangleB . More... | |
VuoRectangle | VuoRectangle_union (VuoRectangle rectangleA, VuoRectangle rectangleB) |
Returns the union area of rectangleA and rectangleB . More... | |