66 Vec2i(
const osg::Vec2i &v);
71 const osg::Vec2i& GetOSGVector()
const;
142 std::string
ToString(
int precision = -1);
167 void operator = (
const Vec2i& v);
172 void operator = (
const osg::Vec2i& v);
187 bool operator < (
const Vec2i& v)
const;
192 bool operator > (
const Vec2i& v)
const;
233 const Vec2i operator - (
const Vec2i& rhs)
const;
243 const Vec2i operator - ()
const;
248 operator osg::Vec2i()
const;
253 operator osg::Vec2i& ();
258 operator const osg::Vec2i& ()
const;
263 operator osg::Vec2i* ();
std::string operator+(const std::string &s1, const RefStr &s2)
bool operator==(const std::string &s1, const RefStr &s2)
bool operator!=(const std::string &s1, const RefStr &s2)
TR_BASE_EXPORT std::ostream & operator<<(std::ostream &ios, const Matrixd &q)
Stream insertion operator.
General purpose 2D integer Vector.
std::string ToString(const T &t, int precision=-1)
A utility function to convert a basic type into a string.
TR_BASE_EXPORT Vec2b ComponentDivide(const Vec2b &lhs, const Vec2b &rhs)
Divide rhs components by rhs vector components.
TR_BASE_EXPORT Vec2b ComponentMultiply(const Vec2b &lhs, const Vec2b &rhs)
Multiply individual vector components.
T Lerp(T from, T to, T alpha)
Linear Interpolation function.
int value_type
Data type of vector components.
static const int NUM_OF_COMPONENTS