Home | History | Annotate | Download | only in Geometry

Lines Matching refs:normal

29   * \f$ n \cdot x + d = 0 \f$ where \f$ n \f$ is a unit normal vector of the plane (linear part)
53 /** Construct a plane from its normal \a n and a point \a e onto the plane.
54 * \warning the vector normal is assumed to be normalized.
59 normal() = n;
63 /** Constructs a plane from its normal \a n and distance to the origin \a d
65 * \warning the vector normal is assumed to be normalized.
70 normal() = n;
80 result.normal() = (p1 - p0).unitOrthogonal();
81 result.offset() = -result.normal().eigen2_dot(p0);
92 result.normal() = (p2 - p0).cross(p1 - p0).normalized();
93 result.offset() = -result.normal().eigen2_dot(p0);
104 normal() = parametrized.direction().unitOrthogonal();
105 offset() = -normal().eigen2_dot(parametrized.origin());
116 m_coeffs /= normal().norm();
122 inline Scalar signedDistance(const VectorType& p) const { return p.eigen2_dot(normal()) + offset(); }
131 inline VectorType projection(const VectorType& p) const { return p - signedDistance(p) * normal(); }
133 /** \returns a constant reference to the unit normal vector of the plane, which corresponds
136 inline const NormalReturnType normal() const { return NormalReturnType(*const_cast<Coefficients*>(&m_coeffs),0,0,dim(),1); }
138 /** \returns a non-constant reference to the unit normal vector of the plane, which corresponds
141 inline NormalReturnType normal() { return NormalReturnType(m_coeffs,0,0,dim(),1); }
144 * \warning the vector normal is assumed to be normalized.
199 normal() = mat.inverse().transpose() * normal();
201 normal() = mat * normal();
220 offset() -= t.translation().eigen2_dot(normal());