Vuo
0.5.4
|
A 2D transformation (scale, rotation, translation).
Classes | |
struct | VuoTransform2d |
A 2D transformation (scale, rotation, translation). More... | |
Functions | |
VuoTransform2d | VuoTransform2d_makeIdentity (void) |
Creates a VuoTransform2d with no effect. | |
VuoTransform2d | VuoTransform2d_make (VuoPoint2d translation, VuoReal rotation, VuoPoint2d scale) |
Creates a VuoTransform2d from translation, rotation (in radians), and scale values. | |
VuoTransform2d | VuoTransform2d_valueFromJson (json_object *js) |
Decodes the JSON object js to create a new value. | |
json_object * | VuoTransform2d_jsonFromValue (const VuoTransform2d value) |
Encodes value as a JSON object. | |
char * | VuoTransform2d_summaryFromValue (const VuoTransform2d value) |
Produces a brief human-readable summary of value . | |
VuoTransform2d | VuoTransform2d_valueFromString (const char *str) |
Automatically generated function. | |
char * | VuoTransform2d_stringFromValue (const VuoTransform2d value) |
Automatically generated function. | |
struct VuoTransform2d |
Class Members | ||
---|---|---|
VuoReal | rotation | Radians around the Z-axis. |
VuoPoint2d | scale | |
VuoPoint2d | translation |
|
read |
Encodes value
as a JSON object.
VuoTransform2d VuoTransform2d_make | ( | VuoPoint2d | translation, |
VuoReal | rotation, | ||
VuoPoint2d | scale | ||
) |
Creates a VuoTransform2d
from translation, rotation (in radians), and scale values.
VuoTransform2d VuoTransform2d_makeIdentity | ( | void | ) |
Creates a VuoTransform2d
with no effect.
char* VuoTransform2d_stringFromValue | ( | const VuoTransform2d | value | ) |
Automatically generated function.
char * VuoTransform2d_summaryFromValue | ( | const VuoTransform2d | value | ) |
Produces a brief human-readable summary of value
.
VuoTransform2d VuoTransform2d_valueFromJson | ( | json_object * | js | ) |
Decodes the JSON object js
to create a new value.
VuoTransform2d VuoTransform2d_valueFromString | ( | const char * | str | ) |
Automatically generated function.