Creates a DANumber that represents the absolute value of the given animated number. The value is equal to the absolute value (the non-negative equivalent) of the value of a.
lib.Abs(
a
)
Returns the DANumber object.
Creates a DANumber object that represents the arccosine (inverse cosine) of the argument.
lib.Acos(
a
)
Returns the DANumber object.
Creates a DANumber object representing the sum of the given arguments. The value is the value of a added to the value of b (a + b).
lib.Add(
a,
b
)
Returns the DANumberobject.
Creates a DANumberobject that represents the arcsine (inverse sine) of the given argument.
lib.Asin(
a
)
Returns the DANumber object.
Creates a DANumberobject that represents the arctangent (inverse tangent) of the given argument.
lib.Atan(
a
)
Returns the DANumber object.
Creates the DANumber object that represents the arctangent (inverse tangent) of the quotient of the given arguments. The value is the inverse tangent of the value of a divided by the value of b.
lib.Atan2(
a,
b
)
Returns the DANumber object.
Creates the DANumber object that represents the ceiling value, the smallest integer value that is greater than or equal to the value of the given argument.
lib.Ceiling(
a
)
Returns the DANumber object.
Creates a the DANumber object that represents the cosine of the given argument.
lib.Cos(
a
)
Returns the DANumber object.
Converts a number (a double) to a DANumber. The only time DANumber is used is when converting numbers to a corresponding DANumber objects.
lib.DANumber(
a
)
Returns the DANumber object.
Creates a DANumber object that is the instantaneous derivative (rate of change) of the given argument. For example, a constant number yields a constant derivative of 0 and a value equal to "time" yields a constant derivative of 1.
lib.Derivative(
a
)
Returns the DANumber object.
Creates DANumber object representing the quotient of the given arguments. The value is the value of a divided by the value of b (a/b).
lib.Div(
a,
b
)
Returns DANumber the object.
Creates DABoolean object that represents the relation a = b. The value is true when the value of a is equal to the value of b, otherwise, it is false.
lib.EQ(
a,
b
)
Returns the DABoolean object.
Creates a DANumber object that represents the exponential of the given argument. The value is the base of natural logarithms, e, raised to the power of the value of a.
lib.Exp(
a
)
Returns the DANumber object.
Creates the DANumber that represents the floor value, the largest integer value that is less than or equal to the value of the given argument.
lib.Floor(
a
)
Returns the DANumber object.
Creates a DABoolean object that represents the relation a > b. The value is true when the value of a is greater than the value of b, otherwise, it is false.
lib.GT(
a,
b
)
Returns the DABoolean object.
Creates DABoolean object that represents the relation a ³ b. The value is true when the value of a is greater than or equal to the value of b, otherwise, it is false.
lib.GTE(
a,
b
)
Returns the DABoolean object.
Creates a DANumber object that represents the sum of all values of a from the start time to the present.
lib.Integral(
a
)
Returns the DANumber object.
Creates a DANumber object the moves along the interval in duration seconds. Velocity is constant.
lib.InterpolateAnim(
from,
to,
duration
)
Returns the DANumber object.
Same as InterpolateAnim except the arguments are non-animated numbers(doubles).
lib.Interpolate(
from,
to,
duration
)
Creates a DANumber object that represents the natural logarithm of the given argument. The value is the value by which the base of natural logarithms, e, must be raised to equal the value of a.
lib.Ln(
DANumber a
)
Returns the DANumber object.
Creates DANumber object that represents the common logarithm (base-10 logarithm) of the given argument. The value is the value by which 10 must be raised to equal the value of a.
lib.Log10(
a
)
Returns the DANumber object.
Creates a DABoolean object that represents the relation a < b. The value is true when the value of a is less than the value of b, otherwise, it is false.
lib.LT(
a,
b
)
Returns the DABoolean object.
Creates a DABoolean object that represents the relation a £ b. The value is true when the value of a is less than or equal to the value of b, otherwise, it is false.
lib.LTE(
a,
b
)
Returns the DABoolean object.
Creates a DANumber object that represents the modulus of the given arguments. The value is the modulus, the remainder of the integer value of a divided by the integer value of b.
lib.Mod(
a,
b
)
Returns the DANumber object.
Creates a DANumber representing the product of the given arguments. The value is the value of a multiplied by the value of b (a ´ b).
lib.Mul(
a,
b
)
Returns the DANumber object.
Creates a DABoolean object that represents the relation a != b. The value is true when the value of a is not equal to the value of b, otherwise, it is false.
lib.NE(
a,
b
)
Returns the DABoolean object.
Creates a DANumber object representing the negation of the given arguments. The value is equal to the value of a subtracted from zero (0 - a).
lib.Neg(
DANumber a
)
Returns the DANumber object.
Creates a DANumber object based on a B-spline function. The function depends on the control elements, the knot vector, the mathematical degree, and the weights of the control elements (these are optional).
A B-spline function without weights is piecewise polynomial and with weights is piecewise rational (the quotient of two polynomials). It requires that:
numberOfControlElements = numberOfKnots - degree + 1
The control elements define the approximate direction and shape of the function. The knots represent junction values, in parameter space, between the connected polynomial parts.
Given a degree d and a number of knots k, the function is valid in the range knotd to knotk-d+1, and is otherwise undefined. For example, for a degree 2 curve, the valid range is from the second knot to the next to the last knot, inclusive.
The returned DANumber is the traversal of the spline function according to the evaluation parameter. The evaluation parameter is a DANumber that must be in the valid range of the spline, which is [knotd, knotk-d+1]. Any values outside this range are automatically clamped to the end values.
lib.NumberBSpline(
degree,
knots,
control_elements,
weights,
evaluation
)
Returns the DANumber object.
Creates a DANumber representing a raised to the power of b. The value is equal to ab.
lib.Pow(
a,
b
)
Returns the DANumber object.
Creates a DANumber object that represents the value of the given argument, rounded to the nearest integer.
lib.Round(
a
)
Creates a DANumber object that represents an infinite, time-varying sequence of pseudo-random values.
lib.SeededRandom(
seed
)
Returns the DANumber object.
Creates a DANumber object that represents the sine of the given argument.
lib.Sin(
a
)
Returns the DANumber object.
Creates a DANumber object that moves along the interval in duration seconds. The animation is dampened so that the number increases slowly, hits a maximum speed at the midpoint, and then decelerates until the end is reached. The acceleration is specified in Gs, or multiples of the earth's gravitational constant.
lib.SlowInSlowOutAnim(
from,
to,
duration,
acceleration
)
Returns the DANumber object.
Same as SlowInSlowOutAnim except that the arguments are non-animated numbers (doubles).
lib.SlowInSlowOut(
from,
to,
duration,
acceleration
)
Creates a DANumber object that represents the square root of the given argument. The value is the square root of the value of a.
lib.Sqrt(
a
)
Returns the DANumber object.
Creates a DANumber object representing the difference of the given arguments. The value is the value of b subtracted from a (a - b).
lib.Sub(
a,
b
)
Returns the DANumber object.
Creates a DANumber object that represents the tangent of the given argument.
lib.Tan(
a
)
Returns the DANumber object.
Creates a DANumber object that represents the value of the given argument converted from radians to degrees.
lib.ToDegrees(
a
)
Returns the DANumber object.
Creates a DANumber object that represents the value of the given argument converted from degrees to radians.
lib.ToRadians(
a
)
Returns the DANumber object.
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.