Home
last modified time | relevance | path

Searched refs:signedDistance (Results 1 – 3 of 3) sorted by relevance

/external/eigen/Eigen/src/Geometry/
DHyperplane.h143 …EIGEN_DEVICE_FUNC inline Scalar signedDistance(const VectorType& p) const { return normal().dot(p)… in signedDistance() function
148 …UNC inline Scalar absDistance(const VectorType& p) const { return numext::abs(signedDistance(p)); } in absDistance()
152 …inline VectorType projection(const VectorType& p) const { return p - signedDistance(p) * normal();… in projection()
/external/eigen/test/
Dgeo_hyperplane.cpp48 VERIFY_IS_APPROX( pl1.signedDistance(p1 + n1 * s0), s0); in hyperplane()
50 VERIFY_IS_MUCH_SMALLER_THAN( abs(pl1.signedDistance(p1 + n1 * s0) - s0), Scalar(1) ); in hyperplane()
51 VERIFY_IS_MUCH_SMALLER_THAN( pl1.signedDistance(pl1.projection(p0)), Scalar(1) ); in hyperplane()
Dgeo_parametrizedline.cpp59 VERIFY_IS_MUCH_SMALLER_THAN(hp.signedDistance(pi), RealScalar(1)); in parametrizedline()