|
HDK
|
#include <openvdb/Exceptions.h>#include <openvdb/util/Assert.h>#include "Math.h"#include "Tuple.h"#include <algorithm>#include <cmath>#include <type_traits>
Include dependency graph for Vec3.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | openvdb::OPENVDB_VERSION_NAME::math::Mat3< T > |
| 3x3 matrix class. More... | |
| class | openvdb::OPENVDB_VERSION_NAME::math::Vec3< T > |
Namespaces | |
| openvdb | |
| openvdb::OPENVDB_VERSION_NAME | |
| openvdb::OPENVDB_VERSION_NAME::math | |
Typedefs | |
| using | openvdb::OPENVDB_VERSION_NAME::math::Vec3i = Vec3< int32_t > |
| using | openvdb::OPENVDB_VERSION_NAME::math::Vec3ui = Vec3< uint32_t > |
| using | openvdb::OPENVDB_VERSION_NAME::math::Vec3s = Vec3< float > |
| using | openvdb::OPENVDB_VERSION_NAME::math::Vec3d = Vec3< double > |
Functions | |
| template<typename T0 , typename T1 > | |
| bool | openvdb::OPENVDB_VERSION_NAME::math::operator== (const Vec3< T0 > &v0, const Vec3< T1 > &v1) |
| Equality operator, does exact floating point comparisons. More... | |
| template<typename T0 , typename T1 > | |
| bool | openvdb::OPENVDB_VERSION_NAME::math::operator!= (const Vec3< T0 > &v0, const Vec3< T1 > &v1) |
| Inequality operator, does exact floating point comparisons. More... | |
| template<typename S , typename T > | |
| Vec3< typename promote< S, T > ::type > | openvdb::OPENVDB_VERSION_NAME::math::operator* (S scalar, const Vec3< T > &v) |
| Multiply each element of the given vector by scalar and return the result. More... | |
| template<typename S , typename T > | |
| Vec3< typename promote< S, T > ::type > | openvdb::OPENVDB_VERSION_NAME::math::operator* (const Vec3< T > &v, S scalar) |
| Multiply each element of the given vector by scalar and return the result. More... | |
| template<typename T0 , typename T1 > | |
| Vec3< typename promote< T0, T1 > ::type > | openvdb::OPENVDB_VERSION_NAME::math::operator* (const Vec3< T0 > &v0, const Vec3< T1 > &v1) |
| Multiply corresponding elements of v0 and v1 and return the result. More... | |
| template<typename S , typename T > | |
| Vec3< typename promote< S, T > ::type > | openvdb::OPENVDB_VERSION_NAME::math::operator/ (S scalar, const Vec3< T > &v) |
| Divide scalar by each element of the given vector and return the result. More... | |
| template<typename S , typename T > | |
| Vec3< typename promote< S, T > ::type > | openvdb::OPENVDB_VERSION_NAME::math::operator/ (const Vec3< T > &v, S scalar) |
| Divide each element of the given vector by scalar and return the result. More... | |
| template<typename T0 , typename T1 > | |
| Vec3< typename promote< T0, T1 > ::type > | openvdb::OPENVDB_VERSION_NAME::math::operator/ (const Vec3< T0 > &v0, const Vec3< T1 > &v1) |
| Divide corresponding elements of v0 and v1 and return the result. More... | |
| template<typename T0 , typename T1 > | |
| Vec3< typename promote< T0, T1 > ::type > | openvdb::OPENVDB_VERSION_NAME::math::operator+ (const Vec3< T0 > &v0, const Vec3< T1 > &v1) |
| Add corresponding elements of v0 and v1 and return the result. More... | |
| template<typename S , typename T > | |
| Vec3< typename promote< S, T > ::type > | openvdb::OPENVDB_VERSION_NAME::math::operator+ (const Vec3< T > &v, S scalar) |
| Add scalar to each element of the given vector and return the result. More... | |
| template<typename T0 , typename T1 > | |
| Vec3< typename promote< T0, T1 > ::type > | openvdb::OPENVDB_VERSION_NAME::math::operator- (const Vec3< T0 > &v0, const Vec3< T1 > &v1) |
| Subtract corresponding elements of v0 and v1 and return the result. More... | |
| template<typename S , typename T > | |
| Vec3< typename promote< S, T > ::type > | openvdb::OPENVDB_VERSION_NAME::math::operator- (const Vec3< T > &v, S scalar) |
| Subtract scalar from each element of the given vector and return the result. More... | |
| template<typename T > | |
| T | openvdb::OPENVDB_VERSION_NAME::math::angle (const Vec3< T > &v1, const Vec3< T > &v2) |
| template<typename T > | |
| bool | openvdb::OPENVDB_VERSION_NAME::math::isApproxEqual (const Vec3< T > &a, const Vec3< T > &b) |
| template<typename T > | |
| bool | openvdb::OPENVDB_VERSION_NAME::math::isApproxEqual (const Vec3< T > &a, const Vec3< T > &b, const Vec3< T > &eps) |
| template<typename T > | |
| Vec3< T > | openvdb::OPENVDB_VERSION_NAME::math::Abs (const Vec3< T > &v) |
| template<typename T > | |
| void | openvdb::OPENVDB_VERSION_NAME::math::orthonormalize (Vec3< T > &v1, Vec3< T > &v2, Vec3< T > &v3) |
| template<typename T > | |
| Vec3< T > | openvdb::OPENVDB_VERSION_NAME::math::minComponent (const Vec3< T > &v1, const Vec3< T > &v2) |
| Return component-wise minimum of the two vectors. More... | |
| template<typename T > | |
| Vec3< T > | openvdb::OPENVDB_VERSION_NAME::math::maxComponent (const Vec3< T > &v1, const Vec3< T > &v2) |
| Return component-wise maximum of the two vectors. More... | |
| template<typename T > | |
| Vec3< T > | openvdb::OPENVDB_VERSION_NAME::math::Exp (Vec3< T > v) |
| Return a vector with the exponent applied to each of the components of the input vector. More... | |
| template<typename T > | |
| Vec3< T > | openvdb::OPENVDB_VERSION_NAME::math::Log (Vec3< T > v) |
| Return a vector with log applied to each of the components of the input vector. More... | |