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
matrix2d.h File Reference
+ Include dependency graph for matrix2d.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GfMatrix2d
 Stores a 2x2 matrix of double elements. More...
 

Functions

GF_API bool GfIsClose (GfMatrix2d const &m1, GfMatrix2d 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 &, GfMatrix2d const &)
 Output a GfMatrix2d.
 

Function Documentation

◆ GfIsClose()

GF_API bool GfIsClose ( GfMatrix2d const &  m1,
GfMatrix2d 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.