|
| 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, 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 (Scalar t) const |
| |
| VectorType | projection (const VectorType &p) const |
| |
| RealScalar | squaredDistance (const VectorType &p) const |
| |
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
,
.
- 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 _Scalar, int _AmbientDim, int _Options>
template<typename NewScalarType>
- Returns
*this with scalar type casted to NewScalarType
Note that if NewScalarType is equal to the current scalar type of *this then this function smartly returns a const reference to *this.
References ParametrizedLine().
Referenced by ParametrizedLine().