HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
diff.h File Reference
#include "pxr/pxr.h"
#include "pxr/base/ts/api.h"
#include "pxr/base/ts/types.h"
+ Include dependency graph for diff.h:

Go to the source code of this file.

Functions

TS_API GfInterval TsFindChangedInterval (const TsSpline &s1, const TsSpline &s2)
 

Function Documentation

TS_API GfInterval TsFindChangedInterval ( const TsSpline s1,
const TsSpline s2 
)

Returns the interval in which the splines s1 and s2 will evaluate to different values or in which knots in the splines have different values.

In particular, if the rightmost changed knot is a dual-valued knot where the left value has changed and the right value is unchanged, the returned interval will be closed on the right, even though the value of the spline at the rightmost time does not change.