|
EIGEN_DEVICE_FUNC | ParametrizedLine () |
| Default constructor without initialization.
|
|
template<int OtherOptions> |
EIGEN_DEVICE_FUNC | ParametrizedLine (const ParametrizedLine< Scalar, AmbientDimAtCompileTime, OtherOptions > &other) |
|
EIGEN_DEVICE_FUNC | ParametrizedLine (Index _dim) |
| Constructs a dynamic-size line with _dim the dimension of the ambient space.
|
|
EIGEN_DEVICE_FUNC | ParametrizedLine (const VectorType &origin, const VectorType &direction) |
| Initializes a parametrized line of direction direction and origin origin. More...
|
|
template<int OtherOptions> |
EIGEN_DEVICE_FUNC | ParametrizedLine (const Hyperplane< _Scalar, _AmbientDim, OtherOptions > &hyperplane) |
| Constructs a parametrized line from a 2D hyperplane. More...
|
|
EIGEN_DEVICE_FUNC Index | dim () const |
|
EIGEN_DEVICE_FUNC const VectorType & | origin () const |
|
EIGEN_DEVICE_FUNC VectorType & | origin () |
|
EIGEN_DEVICE_FUNC const VectorType & | direction () const |
|
EIGEN_DEVICE_FUNC VectorType & | direction () |
|
EIGEN_DEVICE_FUNC RealScalar | squaredDistance (const VectorType &p) const |
|
EIGEN_DEVICE_FUNC RealScalar | distance (const VectorType &p) const |
|
EIGEN_DEVICE_FUNC VectorType | projection (const VectorType &p) const |
|
EIGEN_DEVICE_FUNC VectorType | pointAt (const Scalar &t) const |
|
template<int OtherOptions> |
EIGEN_DEVICE_FUNC Scalar | intersectionParameter (const Hyperplane< _Scalar, _AmbientDim, OtherOptions > &hyperplane) const |
|
template<int OtherOptions> |
EIGEN_DEVICE_FUNC Scalar | intersection (const Hyperplane< _Scalar, _AmbientDim, OtherOptions > &hyperplane) const |
|
template<int OtherOptions> |
EIGEN_DEVICE_FUNC VectorType | intersectionPoint (const Hyperplane< _Scalar, _AmbientDim, OtherOptions > &hyperplane) const |
|
template<typename NewScalarType > |
EIGEN_DEVICE_FUNC internal::cast_return_type< ParametrizedLine, ParametrizedLine< NewScalarType, AmbientDimAtCompileTime, Options > >::type | cast () const |
|
template<typename OtherScalarType , int OtherOptions> |
EIGEN_DEVICE_FUNC | ParametrizedLine (const ParametrizedLine< OtherScalarType, AmbientDimAtCompileTime, OtherOptions > &other) |
| Copy constructor with scalar type conversion.
|
|
EIGEN_DEVICE_FUNC bool | isApprox (const ParametrizedLine &other, const typename NumTraits< Scalar >::Real &prec=NumTraits< Scalar >::dummy_precision()) const |
|
template<int OtherOptions> |
EIGEN_DEVICE_FUNC _Scalar | intersectionParameter (const Hyperplane< _Scalar, _AmbientDim, OtherOptions > &hyperplane) const |
|
template<int OtherOptions> |
EIGEN_DEVICE_FUNC _Scalar | intersection (const Hyperplane< _Scalar, _AmbientDim, OtherOptions > &hyperplane) const |
|
template<typename _Scalar, int _AmbientDim, int _Options>
class Eigen::ParametrizedLine< _Scalar, _AmbientDim, _Options >
A parametrized line
A parametrized line is defined by an origin point \( \mathbf{o} \) and a unit direction vector \( \mathbf{d} \) such that the line corresponds to the set \( l(t) = \mathbf{o} + t \mathbf{d} \), \( t \in \mathbf{R} \).
- 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. |