/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* ex: set filetype=cpp softtabstop=4 shiftwidth=4 tabstop=4 cindent expandtab: */ /* $Id: vctAngleRotation2.cpp,v 1.7 2007/04/26 19:33:57 anton Exp $ Author(s): Anton Deguet Created on: 2005-02-23 (C) Copyright 2005-2007 Johns Hopkins University (JHU), All Rights Reserved. --- begin cisst license - do not edit --- This software is provided "as is" under an open source license, with no warranty. The complete license can be found in license.txt and http://www.cisst.org/cisst/license.txt. --- end cisst license --- */ #include #include const vctAngleRotation2 & vctAngleRotation2::Identity() { static const vctAngleRotation2 result(0.0); return result; } // **************************************************************************** // Change History // **************************************************************************** // // $Log: vctAngleRotation2.cpp,v $ // Revision 1.7 2007/04/26 19:33:57 anton // All files in libraries: Applied new license text, separate copyright and // updated dates, added standard header where missing. // // Revision 1.6 2007/01/24 15:14:35 anton // cisstVector: Removed remaining references to vctMatrixRotation2.h. // // Revision 1.5 2006/11/20 20:33:19 anton // Licensing: Applied new license to cisstCommon, cisstVector, cisstNumerical, // cisstInteractive, cisstImage and cisstOSAbstraction. // // Revision 1.4 2005/09/26 15:41:46 anton // cisst: Added modelines for emacs and vi. // // Revision 1.3 2005/05/19 19:29:01 anton // cisst libs: Added the license to cisstCommon and cisstVector // // Revision 1.2 2005/02/28 20:20:08 anton // vctAngleRotation2: Moved definition of templated From(vctMatrixRotation2) to // header file to avoid compilation issues with VCPP 7.0. Also uses atan2. // // Revision 1.1 2005/02/24 01:51:50 anton // cisstVector: Added classes vctAngleRotation2 and vctMatrixRotation2. This // code has not been tested. The normalization and conversion methods have // to be reviewed. // // // ****************************************************************************