Home | History | Annotate | Download | only in Geometry

Lines Matching full:hyperplane

18   * \class Hyperplane
20 * \brief A hyperplane
22 * A hyperplane is an affine subspace of dimension n-1 in a space of dimension n.
23 * For example, a hyperplane in a plane is a line; a hyperplane in 3-space is a plane.
27 * Notice that the dimension of the hyperplane is _AmbientDim-1.
29 * This class represents an hyperplane as the zero set of the implicit equation
34 class Hyperplane
53 inline explicit Hyperplane() {}
56 Hyperplane(const Hyperplane<Scalar,AmbientDimAtCompileTime,OtherOptions>& other)
60 /** Constructs a dynamic-size hyperplane with \a _dim the dimension
62 inline explicit Hyperplane(Index _dim) : m_coeffs(_dim+1) {}
67 inline Hyperplane(const VectorType& n, const VectorType& e)
78 inline Hyperplane(const VectorType& n, Scalar d)
85 /** Constructs a hyperplane passing through the two points. If the dimension of the ambient space
88 static inline Hyperplane Through(const VectorType& p0, const VectorType& p1)
90 Hyperplane result(p0.size());
96 /** Constructs a hyperplane passing through the three points. The dimension of the ambient space
99 static inline Hyperplane Through(const VectorType& p0, const VectorType& p1, const VectorType& p2)
102 Hyperplane result(p0.size());
108 /** Constructs a hyperplane passing through the parametrized line \a parametrized.
113 explicit Hyperplane(const ParametrizedLine<Scalar, AmbientDimAtCompileTime>& parametrized)
119 ~Hyperplane() {}
179 VectorType intersection(const Hyperplane& other) const
207 inline Hyperplane& transform(const MatrixBase<XprType>& mat, TransformTraits traits = Affine)
215 eigen_assert(0 && "invalid traits value in Hyperplane::transform()");
228 inline Hyperplane& transform(const Transform<Scalar,AmbientDimAtCompileTime,Affine,TrOptions>& t,
242 inline typename internal::cast_return_type<Hyperplane,
243 Hyperplane<NewScalarType,AmbientDimAtCompileTime,Options> >::type cast() const
245 return typename internal::cast_return_type<Hyperplane,
246 Hyperplane<NewScalarType,AmbientDimAtCompileTime,Options> >::type(*this);
251 inline explicit Hyperplane(const Hyperplane<OtherScalarType,AmbientDimAtCompileTime,OtherOptions>& other)
259 bool isApprox(const Hyperplane<Scalar,AmbientDimAtCompileTime,OtherOptions>& other, typename NumTraits<Scalar>::Real prec = NumTraits<Scalar>::dummy_precision()) const