Lines Matching full:direction
23 * direction vector \f$ \mathbf{d} \f$ such that the line corresponds to
48 : m_origin(other.origin()), m_direction(other.direction())
55 /** Initializes a parametrized line of direction \a direction and origin \a origin.
56 * \warning the vector direction is assumed to be normalized.
58 ParametrizedLine(const VectorType& origin, const VectorType& direction)
59 : m_origin(origin), m_direction(direction) {}
76 const VectorType& direction() const { return m_direction; }
77 VectorType& direction() { return m_direction; }
85 return (diff - direction().dot(diff) * direction()).squaredNorm();
94 { return origin() + direction().dot(p-origin()) * direction(); }
125 m_direction = other.direction().template cast<Scalar>();
149 direction() = hyperplane.normal().unitOrthogonal();
159 return origin() + (direction()*t);
169 / hyperplane.normal().dot(direction());