Searched refs:signedDistance (Results 1 – 6 of 6) sorted by relevance
107 var signedDistance =109 sumOfSquaredDistancesToMean += signedDistance * signedDistance;127 var signedDistance = statistics.frequency - currentFrequency;128 sumOfSquaredDistancesToMean += signedDistance * signedDistance;
122 …inline Scalar signedDistance(const VectorType& p) const { return p.eigen2_dot(normal()) + offset()… in signedDistance() function127 inline Scalar absDistance(const VectorType& p) const { return ei_abs(signedDistance(p)); } in absDistance()131 …inline VectorType projection(const VectorType& p) const { return p - signedDistance(p) * normal();… in projection()
133 inline Scalar signedDistance(const VectorType& p) const { return normal().dot(p) + offset(); } in signedDistance() function138 inline Scalar absDistance(const VectorType& p) const { return internal::abs(signedDistance(p)); } in absDistance()142 …inline VectorType projection(const VectorType& p) const { return p - signedDistance(p) * normal();… in projection()
45 VERIFY_IS_APPROX( pl1.signedDistance(p1 + n1 * s0), s0 ); in hyperplane()46 VERIFY_IS_MUCH_SMALLER_THAN( pl1.signedDistance(pl1.projection(p0)), Scalar(1) ); in hyperplane()
46 VERIFY_IS_APPROX( pl1.signedDistance(p1 + n1 * s0), s0 ); in hyperplane()47 VERIFY_IS_MUCH_SMALLER_THAN( pl1.signedDistance(pl1.projection(p0)), Scalar(1) ); in hyperplane()
60 VERIFY_IS_MUCH_SMALLER_THAN(hp.signedDistance(pi), RealScalar(1)); in parametrizedline()