Home | History | Annotate | Download | only in Geometry

Lines Matching defs:normal

30   * \f$ n \cdot x + d = 0 \f$ where \f$ n \f$ is a unit normal vector of the plane (linear part)
64 /** Construct a plane from its normal \a n and a point \a e onto the plane.
65 * \warning the vector normal is assumed to be normalized.
70 normal() = n;
74 /** Constructs a plane from its normal \a n and distance to the origin \a d
76 * \warning the vector normal is assumed to be normalized.
81 normal() = n;
91 result.normal() = (p1 - p0).unitOrthogonal();
92 result.offset() = -p0.dot(result.normal());
104 result.normal() = v0.cross(v1);
105 RealScalar norm = result.normal().norm();
110 result.normal() = svd.matrixV().col(2);
113 result.normal() /= norm;
114 result.offset() = -p0.dot(result.normal());
125 normal() = parametrized.direction().unitOrthogonal();
126 offset() = -parametrized.origin().dot(normal());
137 m_coeffs /= normal().norm();
143 EIGEN_DEVICE_FUNC inline Scalar signedDistance(const VectorType& p) const { return normal().dot(p) + offset(); }
152 EIGEN_DEVICE_FUNC inline VectorType projection(const VectorType& p) const { return p - signedDistance(p) * normal(); }
154 /** \returns a constant reference to the unit normal vector of the plane, which corresponds
157 EIGEN_DEVICE_FUNC inline ConstNormalReturnType normal() const { return ConstNormalReturnType(m_coeffs,0,0,dim(),1); }
159 /** \returns a non-constant reference to the unit normal vector of the plane, which corresponds
162 EIGEN_DEVICE_FUNC inline NormalReturnType normal() { return NormalReturnType(m_coeffs,0,0,dim(),1); }
165 * \warning the vector normal is assumed to be normalized.
221 normal() = mat.inverse().transpose() * normal();
222 m_coeffs /= normal().norm();
225 normal() = mat * normal();
245 offset() -= normal().dot(t.translation());