Home
last modified time | relevance | path

Searched refs:GfAbs (Results 1 – 19 of 19) sorted by relevance

/dports/misc/usd/USD-21.11/pxr/base/gf/
H A Dmatrix4.template.cpp173 if (GfAbs(det) > eps) {
595 sm += GfAbs(a._mtx[p][q]);
605 double g = 100.0 * GfAbs(a._mtx[p][q]);
608 (GfAbs((*eigenvalues)[p]) + g ==
609 GfAbs((*eigenvalues)[p])) &&
610 (GfAbs((*eigenvalues)[q]) + g ==
611 GfAbs((*eigenvalues)[q])))
614 else if (GfAbs(a._mtx[p][q]) > thresh) {
618 if (GfAbs(h) + g == GfAbs(h)) {
622 t = 1.0 / (GfAbs(theta) + sqrt(1.0 + theta * theta));
H A Dbbox3d.cpp50 if (GfAbs(det) <= PRECISION_LIMIT) { in _SetMatrices()
143 double tolerance = GfMax(1e-10, 1e-6 * GfAbs(GfMax(v1, v2))); in Combine()
145 result = (GfAbs(v1 - v2) <= tolerance ? result1 : in Combine()
H A Dplane.cpp198 const double det1 = GfAbs(ata1.GetDeterminant()); in GfFitPlaneToPoints()
199 const double det2 = GfAbs(ata2.GetDeterminant()); in GfFitPlaneToPoints()
200 const double det3 = GfAbs(ata3.GetDeterminant()); in GfFitPlaneToPoints()
H A DwrapMath.cpp98 def("Abs", (double (*)(double))GfAbs); in wrapMath()
99 def("Absf", (float (*)(float))GfAbs, in wrapMath()
H A Dmatrix4.template.h121 return (GfAbs(GfDot(axis0, axis1)) < GF_MIN_ORTHO_TOLERANCE &&
122 GfAbs(GfDot(axis0, axis2)) < GF_MIN_ORTHO_TOLERANCE &&
123 GfAbs(GfDot(axis1, axis2)) < GF_MIN_ORTHO_TOLERANCE);
H A Dmatrix4d.cpp396 if (GfAbs(det) > eps) { in GetInverse()
981 sm += GfAbs(a._mtx[p][q]); in _Jacobi3()
991 double g = 100.0 * GfAbs(a._mtx[p][q]); in _Jacobi3()
994 (GfAbs((*eigenvalues)[p]) + g == in _Jacobi3()
995 GfAbs((*eigenvalues)[p])) && in _Jacobi3()
996 (GfAbs((*eigenvalues)[q]) + g == in _Jacobi3()
997 GfAbs((*eigenvalues)[q]))) in _Jacobi3()
1000 else if (GfAbs(a._mtx[p][q]) > thresh) { in _Jacobi3()
1004 if (GfAbs(h) + g == GfAbs(h)) { in _Jacobi3()
1008 t = 1.0 / (GfAbs(theta) + sqrt(1.0 + theta * theta)); in _Jacobi3()
H A Dmatrix4f.cpp396 if (GfAbs(det) > eps) { in GetInverse()
960 sm += GfAbs(a._mtx[p][q]); in _Jacobi3()
970 double g = 100.0 * GfAbs(a._mtx[p][q]); in _Jacobi3()
973 (GfAbs((*eigenvalues)[p]) + g == in _Jacobi3()
974 GfAbs((*eigenvalues)[p])) && in _Jacobi3()
975 (GfAbs((*eigenvalues)[q]) + g == in _Jacobi3()
976 GfAbs((*eigenvalues)[q]))) in _Jacobi3()
979 else if (GfAbs(a._mtx[p][q]) > thresh) { in _Jacobi3()
983 if (GfAbs(h) + g == GfAbs(h)) { in _Jacobi3()
987 t = 1.0 / (GfAbs(theta) + sqrt(1.0 + theta * theta)); in _Jacobi3()
H A Dray.cpp177 double xAbs = GfAbs(plane.GetNormal()[0]); in Intersect()
178 double yAbs = GfAbs(plane.GetNormal()[1]); in Intersect()
179 double zAbs = GfAbs(plane.GetNormal()[2]); in Intersect()
292 if (GfAbs(d) < GF_MIN_VECTOR_LENGTH) { in Intersect()
H A Dmatrix2.template.cpp45 if (GfAbs(det) > eps) {
H A Dmath.h115 inline double GfAbs(double f) { return std::fabs(f); } in GfAbs() function
118 inline float GfAbs(float f) { return std::fabs(f); } in GfAbs() function
H A Dmatrix4f.h379 return (GfAbs(GfDot(axis0, axis1)) < GF_MIN_ORTHO_TOLERANCE &&
380 GfAbs(GfDot(axis0, axis2)) < GF_MIN_ORTHO_TOLERANCE &&
381 GfAbs(GfDot(axis1, axis2)) < GF_MIN_ORTHO_TOLERANCE);
H A Dmatrix4d.h379 return (GfAbs(GfDot(axis0, axis1)) < GF_MIN_ORTHO_TOLERANCE &&
380 GfAbs(GfDot(axis0, axis2)) < GF_MIN_ORTHO_TOLERANCE &&
381 GfAbs(GfDot(axis1, axis2)) < GF_MIN_ORTHO_TOLERANCE);
H A Dmatrix2f.cpp163 if (GfAbs(det) > eps) { in GetInverse()
H A Dmatrix2d.cpp163 if (GfAbs(det) > eps) { in GetInverse()
H A Dmatrix3.template.cpp72 if (GfAbs(det) > eps) {
H A Dmatrix3f.cpp219 if (GfAbs(det) > eps) { in GetInverse()
H A Dmatrix3d.cpp219 if (GfAbs(det) > eps) { in GetInverse()
/dports/misc/usd/USD-21.11/pxr/usd/usdPhysics/
H A Dmetrics.cpp87 const double diff = GfAbs(authoredUnits - standardUnits); in UsdPhysicsMassUnitsAre()
/dports/misc/usd/USD-21.11/pxr/usd/usdGeom/
H A Dmetrics.cpp228 const double diff = GfAbs(authoredUnits - standardUnits); in UsdGeomLinearUnitsAre()