Point

Point class

Represent animation point.

Point

NameDescription
Point()Default function.

Returns: Point


Point

NameDescription
Point(float, Object, String)Create animation point with time, value and formula.

Parameters:

NameTypeDescription
timefloatTime value.
valueObjectPoint value.
formulaStringFormula.

Returns: Point


getFormula

NameDescription
getFormula ()Formulas within values, from, to, by attributes can be made up of these: Standard arithmetic operators: ‘+’, ‘-‘, ‘’, ‘/’, ‘^’, ‘%’ (mod) Constants: ‘pi’ ‘e’ Conditional operators: ‘abs’, ‘min’, ‘max’, ‘?’ (if) Comparison operators: ‘==’, ‘>=’, ‘’, ‘!=’, ‘!’ Trigonometric operators: ‘sin()’, ‘cos()’, ‘tan()’, ‘asin()’, ‘acos()’, ‘atan()’ Natural logarithm ‘ln()’ Property references (host supported properties) for example: “#ppt_x+(cos(-2pi*(1-$))-#ppt_x-sin(-2pi*(1-$))(1-#ppt_y))(1-$)” Read/write String.

Returns: String


getTime

NameDescription
getTime ()Represents time value. Read/write float.

Returns: float


getValue

NameDescription
getValue ()Represents point value. Only: bool, ColorFormat, float, int, string. Read/write Object.

Returns: Object


setFormula

NameDescription
setFormula (String)Formulas within values, from, to, by attributes can be made up of these: Standard arithmetic operators: ‘+’, ‘-‘, ‘’, ‘/’, ‘^’, ‘%’ (mod) Constants: ‘pi’ ‘e’ Conditional operators: ‘abs’, ‘min’, ‘max’, ‘?’ (if) Comparison operators: ‘==’, ‘>=’, ‘’, ‘!=’, ‘!’ Trigonometric operators: ‘sin()’, ‘cos()’, ‘tan()’, ‘asin()’, ‘acos()’, ‘atan()’ Natural logarithm ‘ln()’ Property references (host supported properties) for example: “#ppt_x+(cos(-2pi*(1-$))-#ppt_x-sin(-2pi*(1-$))(1-#ppt_y))(1-$)” Read/write String.

Returns: void


setTime

NameDescription
setTime (float)Represents time value. Read/write float.

Returns: void


setValue

NameDescription
setValue (Object)Represents point value. Only: bool, ColorFormat, float, int, string. Read/write Object.

Returns: void