26 #ifndef EIGEN_HYPERPLANE_H
27 #define EIGEN_HYPERPLANE_H
48 template <
typename _Scalar,
int _AmbientDim,
int _Options>
70 template<
int OtherOptions>
106 result.
normal() = (p1 - p0).unitOrthogonal();
107 result.offset() = -p0.dot(result.normal());
118 result.
normal() = (p2 - p0).cross(p1 - p0).normalized();
119 result.offset() = -p0.dot(result.normal());
221 template<
typename XprType>
230 eigen_assert(0 &&
"invalid traits value in Hyperplane::transform()");
242 template<
int TrOptions>
256 template<
typename NewScalarType>
257 inline typename internal::cast_return_type<
Hyperplane,
260 return typename internal::cast_return_type<
Hyperplane,
265 template<
typename OtherScalarType,
int OtherOptions>
273 template<
int OtherOptions>
284 #endif // EIGEN_HYPERPLANE_H