Loading...
Searching...
No Matches
vec2i.h File Reference
+ Include dependency graph for vec2i.h:
+ This graph shows which files directly or indirectly include this file:

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.
 
GfVec2i GfCompMult (GfVec2i const &v1, GfVec2i const &v2)
 Returns component-wise multiplication of vectors v1 and v2.
 
GfVec2i GfCompDiv (GfVec2i const &v1, GfVec2i const &v2)
 Returns component-wise quotient of vectors v1 and v2.
 
int GfDot (GfVec2i const &v1, GfVec2i const &v2)
 Returns the dot (inner) product of two vectors.
 

Function Documentation

◆ GfCompDiv()

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

Returns component-wise quotient of vectors v1 and v2.

Definition at line 253 of file vec2i.h.

◆ GfCompMult()

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

Returns component-wise multiplication of vectors v1 and v2.

Definition at line 244 of file vec2i.h.

◆ GfDot()

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

Returns the dot (inner) product of two vectors.

Definition at line 262 of file vec2i.h.