/** \file Mixed operations for Vectors and AxialVectors \author Lukas Nellen \version $Id$ \date 25 Jul 2003 */ #ifndef _utl_OperationsAV_h_ #define _utl_OperationsAV_h_ static const char CVSId_utl_OperationsAV[] = "$Id$"; namespace utl { /** \class OperatonsAV OperatonsAV.h utl/OperationsAV.h \brief Axial vector operations \ingroup geometry */ inline AxialVector Cross(const Vector& l, const Vector& r) { r.TransformTo(l.fCoordinateSystem); return AxialVector(l.fVector.cross(r.fVector), l.fCoordinateSystem); } /// vector cross product inline AxialVector cross(const Vector& l, const Vector& r) { return Cross(l, r); } } #endif // Configure (x)emacs for this file ... // Local Variables: // mode: c++ // compile-command: "make -C .. -k" // End: