All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vec2i.h File Reference
+ Include dependency graph for vec2i.h:

Go to the source code of this file.

Classes

class  GfVec2i
 Basic type for a vector of 2 int components. More...
 

Functions

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

Function Documentation

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

Returns component-wise quotient of vectors v1 and v2.

Definition at line 257 of file vec2i.h.

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

Returns component-wise multiplication of vectors v1 and v2.

Definition at line 248 of file vec2i.h.

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

Returns the dot (inner) product of two vectors.

Definition at line 266 of file vec2i.h.