Home | History | Annotate | Download | only in Geometry

Lines Matching refs:VectorType

40   typedef Matrix<Scalar,AmbientDimAtCompileTime,1> VectorType;
56 inline Hyperplane(const VectorType& n, const VectorType& e)
67 inline Hyperplane(const VectorType& n, Scalar d)
77 static inline Hyperplane Through(const VectorType& p0, const VectorType& p1)
88 static inline Hyperplane Through(const VectorType& p0, const VectorType& p1, const VectorType& p2)
90 EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(VectorType, 3)
122 inline Scalar signedDistance(const VectorType& p) const { return p.eigen2_dot(normal()) + offset(); }
127 inline Scalar absDistance(const VectorType& p) const { return ei_abs(signedDistance(p)); }
131 inline VectorType projection(const VectorType& p) const { return p - signedDistance(p) * normal(); }
168 VectorType intersection(const Hyperplane& other)
170 EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(VectorType, 2)
177 return VectorType(coeffs().coeff(1), -coeffs().coeff(2)/coeffs().coeff(1)-coeffs().coeff(0));
179 return VectorType(-coeffs().coeff(2)/coeffs().coeff(0)-coeffs().coeff(1), coeffs().coeff(0));
184 return VectorType(invdet*(coeffs().coeff(1)*other.coeffs().coeff(2)-other.coeffs().coeff(1)*coeffs().coeff(2)),