18 #ifndef itkCrossHelper_h
19 #define itkCrossHelper_h
35 template<
typename TVector >
56 oCross[0] = iU[1] * iV[2] - iV[1] * iU[2];
57 oCross[1] = iV[0] * iU[2] - iU[0] * iV[2];
58 oCross[2] = iU[0] * iV[1] - iV[0] * iU[1];
62 for (
unsigned int dim = 3; dim <
Dimension; dim++ )
typename VectorType::ValueType ValueType
VectorType operator()(const VectorType &iU, const VectorType &iV) const
constexpr unsigned int Dimension
static constexpr unsigned int Dimension