Lines Matching refs:l0
34 LineType l0(p0, d0); in parametrizedline() local
39 VERIFY_IS_MUCH_SMALLER_THAN( l0.distance(p0), RealScalar(1) ); in parametrizedline()
40 VERIFY_IS_MUCH_SMALLER_THAN( l0.distance(p0+s0*d0), RealScalar(1) ); in parametrizedline()
41 VERIFY_IS_APPROX( (l0.projection(p1)-p1).norm(), l0.distance(p1) ); in parametrizedline()
42 VERIFY_IS_MUCH_SMALLER_THAN( l0.distance(l0.projection(p1)), RealScalar(1) ); in parametrizedline()
43 VERIFY_IS_APPROX( Scalar(l0.distance((p0+s0*d0) + d0.unitOrthogonal() * s1)), s1 ); in parametrizedline()
48 ParametrizedLine<OtherScalar,Dim> hp1f = l0.template cast<OtherScalar>(); in parametrizedline()
49 VERIFY_IS_APPROX(hp1f.template cast<Scalar>(),l0); in parametrizedline()
50 ParametrizedLine<Scalar,Dim> hp1d = l0.template cast<Scalar>(); in parametrizedline()
51 VERIFY_IS_APPROX(hp1d.template cast<Scalar>(),l0); in parametrizedline()
57 Scalar t = l0.intersectionParameter(hp); in parametrizedline()
58 VectorType pi = l0.pointAt(t); in parametrizedline()
60 VERIFY_IS_MUCH_SMALLER_THAN(l0.distance(pi), RealScalar(1)); in parametrizedline()
61 VERIFY_IS_APPROX(l0.intersectionPoint(hp), pi); in parametrizedline()