template<typename _Scalar, int _AmbientDim, int Options = AutoAlign>
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 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> |
ParametrizedLine< _Scalar,
_AmbientDim, _Options >
::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 () |
|
| ParametrizedLine (Index _dim) |
|
| ParametrizedLine (const VectorType &origin, const VectorType &direction) |
|
template<int OtherOptions> |
| ParametrizedLine (const Hyperplane< _Scalar, _AmbientDim, OtherOptions > &hyperplane) |
|
template<typename OtherScalarType , int OtherOptions> |
| ParametrizedLine (const ParametrizedLine< OtherScalarType, AmbientDimAtCompileTime, OtherOptions > &other) |
|
VectorType | pointAt (const Scalar &t) const |
|
VectorType | projection (const VectorType &p) const |
|
RealScalar | squaredDistance (const VectorType &p) const |
|