template<typename Scalar_, int AmbientDim_, int Options_>
class Eigen::ParametrizedLine< Scalar_, AmbientDim_, Options_ >
A parametrized line.
This is defined in the Geometry module.
#include <Eigen/Geometry>
A parametrized line is defined by an origin point and a unit direction vector such that the line corresponds to the set , .
Template Parameters
Scalar_ the scalar type, i.e., the type of the coefficients
AmbientDim_ the dimension of the ambient space, can be a compile time value or Dynamic.
template<typename NewScalarType>
internal::cast_return_type< ParametrizedLine , ParametrizedLine < NewScalarType, AmbientDimAtCompileTime, Options > >::type cast () const
Index dim () const
RealScalar distance (const VectorType &p) const
template<int OtherOptions>
Scalar_ intersection (const Hyperplane < Scalar_, AmbientDim_, OtherOptions > &hyperplane) const
template<int OtherOptions>
Scalar_ intersectionParameter (const Hyperplane < Scalar_, AmbientDim_, OtherOptions > &hyperplane) const
template<int OtherOptions>
VectorType intersectionPoint (const Hyperplane < Scalar_, AmbientDim_, OtherOptions > &hyperplane) const
bool isApprox (const ParametrizedLine &other, const typename NumTraits < Scalar >::Real &prec=NumTraits < Scalar >::dummy_precision()) const
ParametrizedLine ()
template<int OtherOptions>
ParametrizedLine (const Hyperplane < Scalar_, AmbientDim_, OtherOptions > &hyperplane)
template<typename OtherScalarType, int OtherOptions>
ParametrizedLine (const ParametrizedLine < OtherScalarType, AmbientDimAtCompileTime, OtherOptions > &other)
ParametrizedLine (const VectorType &origin, const VectorType &direction)
ParametrizedLine (Index _dim)
VectorType pointAt (const Scalar &t) const
VectorType projection (const VectorType &p) const
RealScalar squaredDistance (const VectorType &p) const
template<typename XprType>
ParametrizedLine & transform (const MatrixBase < XprType > &mat, TransformTraits traits=Affine )
template<int TrOptions>
ParametrizedLine & transform (const Transform < Scalar, AmbientDimAtCompileTime, Affine , TrOptions > &t, TransformTraits traits=Affine )