#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 |
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 295 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 183 of file ParametrizedLine.h.
|
inline |
Definition at line 68 of file ParametrizedLine.h.
|
inlineexplicit |
Copy constructor with scalar type conversion
Definition at line 159 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 151 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 215 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 203 of file ParametrizedLine.h.
|
inline |
*this
and the given hyperplane Definition at line 225 of file ParametrizedLine.h.
|
inline |
true
if *this
is approximately equal to other, within the precision determined by prec.Definition at line 169 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 194 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.
|
inline |
Applies the transformation matrix mat to *this
and returns a reference to *this
.
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. |
Definition at line 114 of file ParametrizedLine.h.
|
inline |
Applies the transformation t to *this
and returns a reference to *this
.
t | the transformation of dimension Dim |
traits | specifies whether the transformation t represents an Isometry or a more generic Affine transformation. The default is Affine. Other kind of transformations are not supported. |
Definition at line 136 of file ParametrizedLine.h.
|
protected |
Definition at line 174 of file ParametrizedLine.h.
|
protected |
Definition at line 174 of file ParametrizedLine.h.