This document is for a version of USD that is under development. See this page for the current release.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
matrix2f.h File Reference
+ Include dependency graph for matrix2f.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GfMatrix2f
 Stores a 2x2 matrix of float elements. More...
 

Functions

GF_API bool GfIsClose (GfMatrix2f const &m1, GfMatrix2f const &m2, double tolerance)
 Tests for equality within a given tolerance, returning true if the difference between each component of the matrix is less than or equal to tolerance, or false otherwise.
 
GF_API std::ostream & operator<< (std::ostream &, GfMatrix2f const &)
 Output a GfMatrix2f.
 

Function Documentation

◆ GfIsClose()

GF_API bool GfIsClose ( GfMatrix2f const &  m1,
GfMatrix2f const &  m2,
double  tolerance 
)

Tests for equality within a given tolerance, returning true if the difference between each component of the matrix is less than or equal to tolerance, or false otherwise.