9 #ifndef __HOM_Vector2_h__
10 #define __HOM_Vector2_h__
83 double &
operator[](
int index);
85 void setTo(
const std::vector<double> &sequence);
113 {
return myVector2.length(); }
115 {
return myVector2.length2(); }
120 {
return myVector2.dot(vector2.
myVector2); }
123 {
return myVector2.x(); }
125 {
return myVector2.y(); }
128 {
return &myVector2; }
149 def __getstate__(
self):
151 def __setstate__(self, state):
void _setstate(std::vector< double >)
#define HOM_DESTRUCT_OBJECT(pointer)
void setTo(const std::vector< double > &sequence)
HOM_Vector2 __truediv__(double scalar)
double dot(HOM_Vector2 &vector2)
void __setitem__(int index, double value)
GLsizei const GLchar *const * string
HOM_Vector2 __mul__(const HOM_Matrix2 &matrix2)
bool operator==(HOM_PtrOrNull< HOM_Vector2 > vector2)
double __getitem__(int index)
string __repr__(VtArray< T > const &self)
**But if you need a or simply need to know when the task has note that the like this
HOM_Vector2(double x, double y)
HOM_Vector2 __mul__(double scalar)
HOM_Vector2 __sub__(HOM_Vector2 &vector2)
HOM_Vector2(const UT_Vector2F &vector2)
void ignore(T const &) VULKAN_HPP_NOEXCEPT
#define HOM_CONSTRUCT_OBJECT(pointer)
bool operator!=(HOM_PtrOrNull< HOM_Vector2 > vector2)
HOM_Vector2 __add__(HOM_Vector2 &vector2)
HOM_Vector2(const UT_Vector2D &vector2)
GLint GLenum GLboolean normalized
HOM_Vector2(const HOM_Vector2 &vector2)
std::vector< double > _getstate()
double distanceTo(HOM_Vector3 &vector3)
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
HOM_Vector2(const std::vector< double > &sequence)
HOM_Vector2 __rmul__(double scalar)
bool isAlmostEqual(HOM_Vector3 &vector3, double tolerance=0.00001)
HOM_Vector2 __div__(double scalar)
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
bool almostEqual(HOM_Vector2 &vector2, double tolerance=0.00001)