26 #ifndef EIGEN_PARAMETRIZEDLINE_H
27 #define EIGEN_PARAMETRIZEDLINE_H
44 template <
typename _Scalar,
int _AmbientDim,
int _Options>
61 template<
int OtherOptions>
76 template <
int OtherOptions>
113 template <
int OtherOptions>
116 template <
int OtherOptions>
119 template <
int OtherOptions>
127 template<
typename NewScalarType>
136 template<
typename OtherScalarType,
int OtherOptions>
159 template <
typename _Scalar,
int _AmbientDim,
int _Options>
160 template <
int OtherOptions>
164 direction() = hyperplane.
normal().unitOrthogonal();
170 template <
typename _Scalar,
int _AmbientDim,
int _Options>
174 return origin() + (direction()*t);
179 template <
typename _Scalar,
int _AmbientDim,
int _Options>
180 template <
int OtherOptions>
183 return -(hyperplane.
offset()+hyperplane.
normal().dot(origin()))
184 / hyperplane.
normal().dot(direction());
191 template <
typename _Scalar,
int _AmbientDim,
int _Options>
192 template <
int OtherOptions>
195 return intersectionParameter(hyperplane);
200 template <
typename _Scalar,
int _AmbientDim,
int _Options>
201 template <
int OtherOptions>
205 return pointAt(intersectionParameter(hyperplane));
210 #endif // EIGEN_PARAMETRIZEDLINE_H