Go to: Synopsis. Return value. MEL examples.
hermite
(float float float float) | (vector vector vector vector) float
hermite is NOT undoable, NOT queryable, and NOT editable.
This command returns a point along on a hermite curve from the five given control arguments. The first two arguments are the start and end points of the curve, respectively. The next two arguments are the tangents of the curve at the start point and end point of the curve, respectively. The fifth argument, parameter, specifies the point on the hermite curve that is returned by this function. This parameter is the unitized distance along the curve from the start point to the end point. A parameter value of 0 corresponds to the start point and a parameter value of 1 corresponds to the end point of the curve.float | When arguments are floats |
vector | When arguments are vectors |
// Evaluate the start point hermite 1 2 3 4 0; // Result:, 1 // // Evaluate the end point hermite 1 2 3 4 1; // Result:, 2 // // Evaluate the mid point hermite 1 2 3 4 .5; // Result:, 1.375 //