getClassType static TypeHandle LPoint4d::get_class_type(void); Undocumented function. |
operator * LPoint4d LPoint4d::operator *(double scalar) const; Description: |
operator + LVecBase4d LPoint4d::operator +(LVecBase4d const &other) const; Description: |
operator - LPoint4d LPoint4d::operator -(void) const; Description: |
operator / LPoint4d LPoint4d::operator /(double scalar) const; Description: |
operator = LPoint4d &LPoint4d::operator =(LVecBase4d const ©); Description: |
pythonRepr void LPoint4d::python_repr(ostream &out, string const &class_name) const; Description: |
unitW static LPoint4d const &LPoint4d::unit_w(void); Description: Returns a unit W point. |
unitX static LPoint4d const &LPoint4d::unit_x(void); Description: Returns a unit X point. |
unitY static LPoint4d const &LPoint4d::unit_y(void); Description: Returns a unit Y point. |
unitZ static LPoint4d const &LPoint4d::unit_z(void); Description: Returns a unit Z point. |
zero static LPoint4d const &LPoint4d::zero(void); Description: Returns a zero-length point. |
addHash unsigned int LVecBase4d::add_hash(unsigned int hash) const; Description: Adds the vector into the running hash. |
addToCell void LVecBase4d::add_to_cell(int i, double value); These next functions add to an existing value. i.e. foo.set_x(foo.get_x() + value) These are useful to reduce overhead in scripting languages: Description: |
addW void LVecBase4d::add_w(double value); Description: |
addX void LVecBase4d::add_x(double value); These next functions add to an existing value. i.e. foo.set_x(foo.get_x() + value) These are useful to reduce overhead in scripting languages: Description: |
addY void LVecBase4d::add_y(double value); Description: |
addZ void LVecBase4d::add_z(double value); Description: |
almostEqual bool LVecBase4d::almost_equal(LVecBase4d const &other, double threshold) const; Description: Returns true if two vectors are memberwise equal within a specified tolerance. Description: Returns true if two vectors are memberwise equal within a default tolerance based on the numeric type. |
compareTo int LVecBase4d::compare_to(LVecBase4d const &other) const; Description: This flavor of compare_to uses a default threshold value based on the numeric type. Description: Sorts vectors lexicographically, componentwise. Returns a number less than 0 if this vector sorts before the other one, greater than zero if it sorts after, 0 if they are equivalent (within the indicated tolerance). |
dot double LVecBase4d::dot(LVecBase4d const &other) const; Description: |
fill void LVecBase4d::fill(double fill_value); Description: Sets each element of the vector to the indicated fill_value. This is particularly useful for initializing to zero. |
getCell double LVecBase4d::get_cell(int i) const; Description: |
getClassType static TypeHandle LVecBase4d::get_class_type(void); Undocumented function. |
getData double const *LVecBase4d::get_data(void) const; Description: Returns the address of the first of the four data elements in the vector. The remaining elements occupy the next positions consecutively in memory. |
getHash unsigned int LVecBase4d::get_hash(void) const; Description: Returns a suitable hash for phash_map. |
getNumComponents int LVecBase4d::get_num_components(void) const; Description: Returns the number of elements in the vector, four. |
getW double LVecBase4d::get_w(void) const; Description: |
getX double LVecBase4d::get_x(void) const; Description: |
getY double LVecBase4d::get_y(void) const; Description: |
getZ double LVecBase4d::get_z(void) const; Description: |
isNan bool LVecBase4d::is_nan(void) const; Description: Returns true if any component of the vector is not-a-number, false otherwise. |
operator != bool LVecBase4d::operator !=(LVecBase4d const &other) const; Description: |
operator * LVecBase4d LVecBase4d::operator *(double scalar) const; Description: |
operator *= void LVecBase4d::operator *=(double scalar); Description: |
operator + LVecBase4d LVecBase4d::operator +(LVecBase4d const &other) const; Description: |
operator += void LVecBase4d::operator +=(LVecBase4d const &other); Description: |
operator - LVecBase4d LVecBase4d::operator -(void) const; Description: |
operator -= void LVecBase4d::operator -=(LVecBase4d const &other); Description: |
operator / LVecBase4d LVecBase4d::operator /(double scalar) const; Description: |
operator /= void LVecBase4d::operator /=(double scalar); Description: |
operator < bool LVecBase4d::operator <(LVecBase4d const &other) const; Description: This performs a lexicographical comparison. It's of questionable mathematical meaning, but sometimes has a practical purpose for sorting unique vectors, especially in an STL container. Also see compare_to(). |
operator = LVecBase4d &LVecBase4d::operator =(LVecBase4d const ©); Description: |
operator == bool LVecBase4d::operator ==(LVecBase4d const &other) const; Description: |
operator [] double LVecBase4d::operator [](int i) const; Description: |
output void LVecBase4d::output(ostream &out) const; Description: |
pythonRepr void LVecBase4d::python_repr(ostream &out, string const &class_name) const; Description: |
set void LVecBase4d::set(double x, double y, double z, double w); Description: |
setCell void LVecBase4d::set_cell(int i, double value); Description: |
setW void LVecBase4d::set_w(double value); Description: |
setX void LVecBase4d::set_x(double value); Description: |
setY void LVecBase4d::set_y(double value); Description: |
setZ void LVecBase4d::set_z(double value); Description: |
unitW static LVecBase4d const &LVecBase4d::unit_w(void); Description: Returns a unit W vector. |
unitX static LVecBase4d const &LVecBase4d::unit_x(void); Description: Returns a unit X vector. |
unitY static LVecBase4d const &LVecBase4d::unit_y(void); Description: Returns a unit Y vector. |
unitZ static LVecBase4d const &LVecBase4d::unit_z(void); Description: Returns a unit Z vector. |
zero static LVecBase4d const &LVecBase4d::zero(void); Description: Returns a zero-length vector. |