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

Go to the source code of this file.

Classes

class  GfVec3i
 Basic type for a vector of 3 int components. More...
 

Functions

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

Function Documentation

◆ GfCompDiv()

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

Returns component-wise quotient of vectors v1 and v2.

Definition at line 249 of file vec3i.h.

◆ GfCompMult()

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

Returns component-wise multiplication of vectors v1 and v2.

Definition at line 239 of file vec3i.h.

◆ GfDot()

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

Returns the dot (inner) product of two vectors.

Definition at line 259 of file vec3i.h.