Lines Matching refs:VectorType
36 typedef Matrix<Scalar,AmbientDimAtCompileTime,1> VectorType;
48 ParametrizedLine(const VectorType& origin, const VectorType& direction)
54 static inline ParametrizedLine Through(const VectorType& p0, const VectorType& p1)
62 const VectorType& origin() const { return m_origin; }
63 VectorType& origin() { return m_origin; }
65 const VectorType& direction() const { return m_direction; }
66 VectorType& direction() { return m_direction; }
71 RealScalar squaredDistance(const VectorType& p) const
73 VectorType diff = p-origin();
79 RealScalar distance(const VectorType& p) const { return ei_sqrt(squaredDistance(p)); }
82 VectorType projection(const VectorType& p) const
117 VectorType m_origin, m_direction;
127 EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(VectorType, 2)