Go to the documentation of this file.
11 #ifndef EIGEN_PARAMETRIZEDLINE_H
12 #define EIGEN_PARAMETRIZEDLINE_H
29 template <
typename _Scalar,
int _AmbientDim,
int _Options>
30 class ParametrizedLine
46 template<
int OtherOptions>
61 template <
int OtherOptions>
98 template <
int OtherOptions>
101 template <
int OtherOptions>
104 template <
int OtherOptions>
113 template<
typename XprType>
122 eigen_assert(0 &&
"invalid traits value in ParametrizedLine::transform()");
135 template<
int TrOptions>
149 template<
typename NewScalarType>
158 template<
typename OtherScalarType,
int OtherOptions>
181 template <
typename _Scalar,
int _AmbientDim,
int _Options>
182 template <
int OtherOptions>
186 direction() =
hyperplane.normal().unitOrthogonal();
192 template <
typename _Scalar,
int _AmbientDim,
int _Options>
196 return origin() + (direction()*
t);
201 template <
typename _Scalar,
int _AmbientDim,
int _Options>
202 template <
int OtherOptions>
213 template <
typename _Scalar,
int _AmbientDim,
int _Options>
214 template <
int OtherOptions>
222 template <
typename _Scalar,
int _AmbientDim,
int _Options>
223 template <
int OtherOptions>
227 return pointAt(intersectionParameter(
hyperplane));
232 #endif // EIGEN_PARAMETRIZEDLINE_H
EIGEN_DEVICE_FUNC ParametrizedLine(const ParametrizedLine< Scalar, AmbientDimAtCompileTime, OtherOptions > &other)
#define EIGEN_DEVICE_FUNC
Namespace containing all symbols from the Eigen library.
EIGEN_DEVICE_FUNC VectorType projection(const VectorType &p) const
Matrix< Scalar, AmbientDimAtCompileTime, 1, Options > VectorType
#define EIGEN_USING_STD(FUNC)
static EIGEN_DEVICE_FUNC ParametrizedLine Through(const VectorType &p0, const VectorType &p1)
EIGEN_DEVICE_FUNC Scalar intersectionParameter(const Hyperplane< _Scalar, _AmbientDim, OtherOptions > &hyperplane) const
const EIGEN_DEVICE_FUNC VectorType & direction() const
EIGEN_DEVICE_FUNC Index dim() const
EIGEN_DEVICE_FUNC ParametrizedLine & transform(const MatrixBase< XprType > &mat, TransformTraits traits=Affine)
EIGEN_DEVICE_FUNC ParametrizedLine()
EIGEN_DEVICE_FUNC RealScalar squaredDistance(const VectorType &p) const
EIGEN_DEVICE_FUNC ParametrizedLine & transform(const Transform< Scalar, AmbientDimAtCompileTime, Affine, TrOptions > &t, TransformTraits traits=Affine)
Scalar EIGEN_BLAS_FUNC() dot(int *n, RealScalar *px, int *incx, RealScalar *py, int *incy)
void hyperplane(const HyperplaneType &_plane)
EIGEN_DEVICE_FUNC ParametrizedLine(Index _dim)
@ AmbientDimAtCompileTime
EIGEN_DEVICE_FUNC VectorType & origin()
EIGEN_DEVICE_FUNC VectorType intersectionPoint(const Hyperplane< _Scalar, _AmbientDim, OtherOptions > &hyperplane) const
EIGEN_DEVICE_FUNC VectorType pointAt(const Scalar &t) const
#define EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(TYPE, SIZE)
EIGEN_DEVICE_FUNC bool isApprox(const ParametrizedLine &other, const typename NumTraits< Scalar >::Real &prec=NumTraits< Scalar >::dummy_precision()) const
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy y set format x g set format y g set format x2 g set format y2 g set format z g set angles radians set nogrid set key title set key left top Right noreverse box linetype linewidth samplen spacing width set nolabel set noarrow set nologscale set logscale x set set pointsize set encoding default set nopolar set noparametric set set set set surface set nocontour set clabel set mapping cartesian set nohidden3d set cntrparam order set cntrparam linear set cntrparam levels auto set cntrparam points set size set origin
EIGEN_DEVICE_FUNC ~ParametrizedLine()
EIGEN_DEVICE_FUNC Scalar intersection(const Hyperplane< _Scalar, _AmbientDim, OtherOptions > &hyperplane) const
NumTraits< Scalar >::Real RealScalar
EIGEN_DEVICE_FUNC ParametrizedLine(const VectorType &origin, const VectorType &direction)
EIGEN_DEVICE_FUNC ParametrizedLine(const ParametrizedLine< OtherScalarType, AmbientDimAtCompileTime, OtherOptions > &other)
Base class for all dense matrices, vectors, and expressions.
EIGEN_DEVICE_FUNC internal::cast_return_type< ParametrizedLine, ParametrizedLine< NewScalarType, AmbientDimAtCompileTime, Options > >::type cast() const
EIGEN_DEVICE_FUNC VectorType & direction()
Holds information about the various numeric (i.e. scalar) types allowed by Eigen.
Jet< T, N > sqrt(const Jet< T, N > &f)
#define EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF_VECTORIZABLE_FIXED_SIZE(Scalar, Size)
EIGEN_DEVICE_FUNC RealScalar distance(const VectorType &p) const
const EIGEN_DEVICE_FUNC VectorType & origin() const
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:33:54