#include <ForwardDeclarations.h>
Public Types | |
enum | { AmbientDimAtCompileTime = _AmbientDim, Options = _Options } |
typedef Eigen::Index | Index |
typedef NumTraits< Scalar >::Real | RealScalar |
typedef _Scalar | Scalar |
typedef Matrix< Scalar, AmbientDimAtCompileTime, 1, Options > | VectorType |
Public Member Functions | |
template<typename NewScalarType > | |
EIGEN_DEVICE_FUNC internal::cast_return_type< ParametrizedLine, ParametrizedLine< NewScalarType, AmbientDimAtCompileTime, Options > >::type | cast () const |
EIGEN_DEVICE_FUNC Index | dim () const |
EIGEN_DEVICE_FUNC const VectorType & | direction () const |
EIGEN_DEVICE_FUNC VectorType & | direction () |
EIGEN_DEVICE_FUNC RealScalar | distance (const VectorType &p) const |
template<int OtherOptions> | |
EIGEN_DEVICE_FUNC Scalar | intersection (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 Scalar | intersectionParameter (const Hyperplane< _Scalar, _AmbientDim, OtherOptions > &hyperplane) const |
template<int OtherOptions> | |
EIGEN_DEVICE_FUNC _Scalar | intersectionParameter (const Hyperplane< _Scalar, _AmbientDim, OtherOptions > &hyperplane) const |
template<int OtherOptions> | |
EIGEN_DEVICE_FUNC VectorType | intersectionPoint (const Hyperplane< _Scalar, _AmbientDim, OtherOptions > &hyperplane) const |
EIGEN_DEVICE_FUNC bool | isApprox (const ParametrizedLine &other, const typename NumTraits< Scalar >::Real &prec=NumTraits< Scalar >::dummy_precision()) const |
EIGEN_DEVICE_FUNC const VectorType & | origin () const |
EIGEN_DEVICE_FUNC VectorType & | origin () |
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) |
template<typename OtherScalarType , int OtherOptions> | |
EIGEN_DEVICE_FUNC | ParametrizedLine (const ParametrizedLine< OtherScalarType, AmbientDimAtCompileTime, OtherOptions > &other) |
EIGEN_DEVICE_FUNC VectorType | pointAt (const Scalar &t) const |
EIGEN_DEVICE_FUNC VectorType | projection (const VectorType &p) const |
EIGEN_DEVICE_FUNC RealScalar | squaredDistance (const VectorType &p) const |
EIGEN_DEVICE_FUNC | ~ParametrizedLine () |
Static Public Member Functions | |
static EIGEN_DEVICE_FUNC ParametrizedLine | Through (const VectorType &p0, const VectorType &p1) |
Protected Attributes | |
VectorType | m_direction |
VectorType | m_origin |
A parametrized line.
A parametrized line is defined by an origin point and a unit direction vector such that the line corresponds to the set , .
_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. |
Definition at line 275 of file ForwardDeclarations.h.
typedef Eigen::Index Eigen::ParametrizedLine< _Scalar, _AmbientDim, _Options >::Index |
Definition at line 40 of file ParametrizedLine.h.
typedef NumTraits<Scalar>::Real Eigen::ParametrizedLine< _Scalar, _AmbientDim, _Options >::RealScalar |
Definition at line 39 of file ParametrizedLine.h.
typedef _Scalar Eigen::ParametrizedLine< _Scalar, _AmbientDim, _Options >::Scalar |
Definition at line 38 of file ParametrizedLine.h.
typedef Matrix<Scalar,AmbientDimAtCompileTime,1,Options> Eigen::ParametrizedLine< _Scalar, _AmbientDim, _Options >::VectorType |
Definition at line 41 of file ParametrizedLine.h.
anonymous enum |
Enumerator | |
---|---|
AmbientDimAtCompileTime | |
Options |
Definition at line 34 of file ParametrizedLine.h.
|
inline |
Default constructor without initialization
Definition at line 44 of file ParametrizedLine.h.
|
inline |
Definition at line 47 of file ParametrizedLine.h.
|
inlineexplicit |
Constructs a dynamic-size line with _dim the dimension of the ambient space
Definition at line 53 of file ParametrizedLine.h.
|
inline |
Initializes a parametrized line of direction direction and origin origin.
Definition at line 58 of file ParametrizedLine.h.
|
inlineexplicit |
Constructs a parametrized line from a 2D hyperplane
Definition at line 146 of file ParametrizedLine.h.
|
inline |
Definition at line 68 of file ParametrizedLine.h.
|
inlineexplicit |
Copy constructor with scalar type conversion
Definition at line 122 of file ParametrizedLine.h.
|
inline |
*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
.
Definition at line 114 of file ParametrizedLine.h.
|
inline |
Definition at line 71 of file ParametrizedLine.h.
|
inline |
Definition at line 76 of file ParametrizedLine.h.
|
inline |
Definition at line 77 of file ParametrizedLine.h.
|
inline |
*this
. Definition at line 90 of file ParametrizedLine.h.
EIGEN_DEVICE_FUNC Scalar Eigen::ParametrizedLine< _Scalar, _AmbientDim, _Options >::intersection | ( | const Hyperplane< _Scalar, _AmbientDim, OtherOptions > & | hyperplane | ) | const |
|
inline |
*this
and the given hyperplane Definition at line 178 of file ParametrizedLine.h.
EIGEN_DEVICE_FUNC Scalar Eigen::ParametrizedLine< _Scalar, _AmbientDim, _Options >::intersectionParameter | ( | const Hyperplane< _Scalar, _AmbientDim, OtherOptions > & | hyperplane | ) | const |
|
inline |
*this
and the given hyperplane Definition at line 166 of file ParametrizedLine.h.
|
inline |
*this
and the given hyperplane Definition at line 188 of file ParametrizedLine.h.
|
inline |
true
if *this
is approximately equal to other, within the precision determined by prec.Definition at line 132 of file ParametrizedLine.h.
|
inline |
Definition at line 73 of file ParametrizedLine.h.
|
inline |
Definition at line 74 of file ParametrizedLine.h.
|
inline |
Definition at line 157 of file ParametrizedLine.h.
|
inline |
*this
. Definition at line 93 of file ParametrizedLine.h.
|
inline |
*this
. Definition at line 82 of file ParametrizedLine.h.
|
inlinestatic |
Constructs a parametrized line going from p0 to p1.
Definition at line 65 of file ParametrizedLine.h.
|
protected |
Definition at line 137 of file ParametrizedLine.h.
|
protected |
Definition at line 137 of file ParametrizedLine.h.