|
EIGEN_DEVICE_FUNC | ParametrizedLine () |
|
template<int OtherOptions> |
EIGEN_DEVICE_FUNC | ParametrizedLine (const ParametrizedLine< Scalar, AmbientDimAtCompileTime, OtherOptions > &other) |
|
EIGEN_DEVICE_FUNC | ParametrizedLine (Index _dim) |
|
EIGEN_DEVICE_FUNC | ParametrizedLine (const VectorType &origin, const VectorType &direction) |
|
template<int OtherOptions> |
EIGEN_DEVICE_FUNC | ParametrizedLine (const Hyperplane< Scalar_, AmbientDim_, OtherOptions > &hyperplane) |
|
EIGEN_DEVICE_FUNC | ~ParametrizedLine () |
|
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 XprType > |
EIGEN_DEVICE_FUNC ParametrizedLine & | transform (const MatrixBase< XprType > &mat, TransformTraits traits=Affine) |
|
template<int TrOptions> |
EIGEN_DEVICE_FUNC ParametrizedLine & | transform (const Transform< Scalar, AmbientDimAtCompileTime, Affine, TrOptions > &t, TransformTraits traits=Affine) |
|
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) |
|
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.
\geometry_module
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. |
template<typename Scalar_ , int AmbientDim_, int Options_>
template<typename XprType >
Applies the transformation matrix mat to *this
and returns a reference to *this
.
- Parameters
-
mat | the Dim x Dim transformation matrix |
traits | specifies whether the matrix mat represents an Isometry or a more generic Affine transformation. The default is Affine. |
124 eigen_assert(0 &&
"invalid traits value in ParametrizedLine::transform()");
#define eigen_assert(x)
Definition: Macros.h:910
@ Affine
Definition: Constants.h:458
@ Isometry
Definition: Constants.h:455
References Eigen::Affine, Eigen::ParametrizedLine< Scalar_, AmbientDim_, Options_ >::direction(), eigen_assert, Eigen::Isometry, and Eigen::ParametrizedLine< Scalar_, AmbientDim_, Options_ >::origin().
Referenced by Eigen::ParametrizedLine< Scalar_, AmbientDim_, Options_ >::transform().