Home | History | Annotate | Download | only in Geometry

Lines Matching full:hyperplane

17   * \class Hyperplane
19 * \brief A hyperplane
21 * A hyperplane is an affine subspace of dimension n-1 in a space of dimension n.
22 * For example, a hyperplane in a plane is a line; a hyperplane in 3-space is a plane.
26 * Notice that the dimension of the hyperplane is _AmbientDim-1.
28 * This class represents an hyperplane as the zero set of the implicit equation
33 class Hyperplane
47 inline explicit Hyperplane() {}
49 /** Constructs a dynamic-size hyperplane with \a _dim the dimension
51 inline explicit Hyperplane(int _dim) : m_coeffs(_dim+1) {}
56 inline Hyperplane(const VectorType& n, const VectorType& e)
67 inline Hyperplane(const VectorType& n, Scalar d)
74 /** Constructs a hyperplane passing through the two points. If the dimension of the ambient space
77 static inline Hyperplane Through(const VectorType& p0, const VectorType& p1)
79 Hyperplane result(p0.size());
85 /** Constructs a hyperplane passing through the three points. The dimension of the ambient space
88 static inline Hyperplane Through(const VectorType& p0, const VectorType& p1, const VectorType& p2)
91 Hyperplane result(p0.size());
97 /** Constructs a hyperplane passing through the parametrized line \a parametrized.
102 explicit Hyperplane(const ParametrizedLine<Scalar, AmbientDimAtCompileTime>& parametrized)
108 ~Hyperplane() {}
168 VectorType intersection(const Hyperplane& other)
196 inline Hyperplane& transform(const MatrixBase<XprType>& mat, TransformTraits traits = Affine)
204 ei_assert("invalid traits value in Hyperplane::transform()");
216 inline Hyperplane& transform(const Transform<Scalar,AmbientDimAtCompileTime>& t,
230 inline typename internal::cast_return_type<Hyperplane,
231 Hyperplane<NewScalarType,AmbientDimAtCompileTime> >::type cast() const
233 return typename internal::cast_return_type<Hyperplane,
234 Hyperplane<NewScalarType,AmbientDimAtCompileTime> >::type(*this);
239 inline explicit Hyperplane(const Hyperplane<OtherScalarType,AmbientDimAtCompileTime>& other)
246 bool isApprox(const Hyperplane& other, typename NumTraits<Scalar>::Real prec = precision<Scalar>()) const