|
object | __getattr__ (str attr_name) |
|
| __init__ () |
|
| __init__ (const LPoint4i) |
|
| __init__ (const LVecBase3i copy, int w) |
|
| __init__ (const LVecBase4i copy) |
|
| __init__ (int fill_value) |
|
| __init__ (int x, int y, int z, int w) |
|
str | __repr__ () |
|
int | __setattr__ (str attr_name, object assign) |
|
LPoint2i | getXy () |
| Returns the x and y component of this vector. More...
|
|
LPoint3i | getXyz () |
| Returns the x, y and z component of this vector. More...
|
|
LPoint4i | operator * (int scalar) |
|
LPoint4i | operator - () |
|
LVector4i | operator - (const LPoint4i other) |
|
LVecBase4i | operator - (const LVecBase4i other) |
|
LPoint4i | operator - (const LVector4i other) |
|
LVecBase4i | operator+ (const LVecBase4i other) |
|
LPoint4i | operator+ (const LVector4i other) |
|
LPoint4i | operator/ (int scalar) |
|
Public Member Functions inherited from LVecBase4i |
object | __getattr__ (str attr_name) |
|
| __init__ () |
|
| __init__ (const LPoint3i point) |
| Constructs an LVecBase4 from an LPoint3. More...
|
|
| __init__ (const LVecBase3i copy, int w) |
|
| __init__ (const LVecBase4i) |
|
| __init__ (const LVector3i vector) |
| Constructs an LVecBase4 from an LVector3. More...
|
|
| __init__ (const UnalignedLVecBase4i copy) |
|
| __init__ (int fill_value) |
|
| __init__ (int x, int y, int z, int w) |
|
object | __ipow__ (int exponent) |
|
LVecBase4i | __pow__ (int exponent) |
|
object | __reduce__ () |
|
str | __repr__ () |
|
int | __setattr__ (str attr_name, object assign) |
|
int | addHash (int hash) |
| Adds the vector into the running hash. More...
|
|
| addToCell (int i, int value) |
|
| addW (int value) |
|
| addX (int value) |
|
| addY (int value) |
|
| addZ (int value) |
|
bool | almostEqual (const LVecBase4i other) |
| Returns true if two vectors are memberwise equal within a default tolerance based on the numeric type. More...
|
|
bool | almostEqual (const LVecBase4i other, int threshold) |
| Returns true if two vectors are memberwise equal within a specified tolerance. More...
|
|
int | compareTo (const LVecBase4i other) |
| This flavor of compare_to uses a default threshold value based on the numeric type. More...
|
|
| componentwiseMult (const LVecBase4i other) |
|
int | dot (const LVecBase4i other) |
|
| fill (int fill_value) |
| Sets each element of the vector to the indicated fill_value. More...
|
|
LVecBase4i | fmax (const LVecBase4i other) |
|
LVecBase4i | fmin (const LVecBase4i other) |
|
| generateHash (ChecksumHashGenerator hashgen) |
| Adds the vector to the indicated hash generator. More...
|
|
int | getCell (int i) |
|
| getData () |
| Returns the address of the first of the four data elements in the vector. More...
|
|
int | getHash () |
| Returns a suitable hash for phash_map. More...
|
|
int | getW () |
|
int | getX () |
|
LVecBase2i | getXy () |
| Returns the x and y component of this vector. More...
|
|
LVecBase3i | getXyz () |
| Returns the x, y and z component of this vector. More...
|
|
int | getY () |
|
int | getZ () |
|
bool | isNan () |
| Returns true if any component of the vector is not-a-number, false otherwise. More...
|
|
int | lengthSquared () |
| Returns the square of the vector's length, cheap and easy. More...
|
|
bool | operator != (const LVecBase4i other) |
|
LVecBase4i | operator * (int scalar) |
|
LVecBase4i | operator *= (int scalar) |
|
LVecBase4i | operator - () |
|
LVecBase4i | operator - (const LVecBase4i other) |
|
LVecBase4i | operator -= (const LVecBase4i other) |
|
| operator [] (int i, int assign_val) |
|
int | operator [] (int i) |
|
| operator new (int size) |
|
LVecBase4i | operator+ (const LVecBase4i other) |
|
LVecBase4i | operator+= (const LVecBase4i other) |
|
LVecBase4i | operator/ (int scalar) |
|
LVecBase4i | operator/= (int scalar) |
|
bool | operator< (const LVecBase4i other) |
|
LVecBase4i | operator= (const LVecBase4i copy) |
|
LVecBase4i | operator= (int fill_value) |
|
bool | operator== (const LVecBase4i other) |
|
| output (Ostream out) |
|
| readDatagram (DatagramIterator source) |
| Reads the vector from the Datagram using get_stdfloat(). More...
|
|
| readDatagramFixed (DatagramIterator source) |
| Reads the vector from the Datagram using get_float32() or get_float64(). More...
|
|
| set (int x, int y, int z, int w) |
|
| setCell (int i, int value) |
|
| setW (int value) |
|
| setX (int value) |
|
| setY (int value) |
|
| setZ (int value) |
|
| writeDatagram (Datagram destination) |
| Writes the vector to the Datagram using add_stdfloat(). More...
|
|
| writeDatagramFixed (Datagram destination) |
| Writes the vector to the Datagram using add_float32() or add_float64(), depending on the type of floats in the vector, regardless of the setting of Datagram::set_stdfloat_double(). More...
|
|
This is a four-component point in space.