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

Go to the source code of this file.

Classes

class  GfVec4i
 Basic type for a vector of 4 int components. More...
 

Functions

GF_API std::ostream & operator<< (std::ostream &, GfVec4i const &)
 Output a GfVec4i.
 
GfVec4i GfCompMult (GfVec4i const &v1, GfVec4i const &v2)
 Returns component-wise multiplication of vectors v1 and v2.
 
GfVec4i GfCompDiv (GfVec4i const &v1, GfVec4i const &v2)
 Returns component-wise quotient of vectors v1 and v2.
 
int GfDot (GfVec4i const &v1, GfVec4i const &v2)
 Returns the dot (inner) product of two vectors.
 

Function Documentation

◆ GfCompDiv()

GfVec4i GfCompDiv ( GfVec4i const &  v1,
GfVec4i const &  v2 
)
inline

Returns component-wise quotient of vectors v1 and v2.

Definition at line 262 of file vec4i.h.

◆ GfCompMult()

GfVec4i GfCompMult ( GfVec4i const &  v1,
GfVec4i const &  v2 
)
inline

Returns component-wise multiplication of vectors v1 and v2.

Definition at line 251 of file vec4i.h.

◆ GfDot()

int GfDot ( GfVec4i const &  v1,
GfVec4i const &  v2 
)
inline

Returns the dot (inner) product of two vectors.

Definition at line 273 of file vec4i.h.