core/vcsl/vcsl_polar.h
Go to the documentation of this file.
00001 #ifndef vcsl_polar_h_
00002 #define vcsl_polar_h_
00003 //:
00004 // \file
00005 // \brief Planar polar coordinate system
00006 // \author François BERTEL
00007 //
00008 // \verbatim
00009 //  Modifications
00010 //   2000/06/28 François BERTEL Creation. Adapted from IUE
00011 //   2001/04/10 Ian Scott (Manchester) Converted perceps header to doxygen
00012 //   2004/09/10 Peter Vanroose  Inlined all 1-line methods in class decl
00013 // \endverbatim
00014 
00015 #include <vcsl/vcsl_spatial.h>
00016 #include <vcsl/vcsl_polar_sptr.h>
00017 
00018 //: Planar coordinate system specified by the parameters rho and theta
00019 class vcsl_polar
00020   : public vcsl_spatial
00021 {
00022  public:
00023   //***************************************************************************
00024   // Constructors/Destructor
00025   //***************************************************************************
00026 
00027   // Default constructor.
00028   vcsl_polar();
00029 
00030   // Destructor
00031   virtual ~vcsl_polar() {}
00032 
00033   //***************************************************************************
00034   // Because VXL does not necessarily use dynamic_cast<>
00035   //***************************************************************************
00036 
00037   virtual const vcsl_polar *cast_to_polar() const { return this; }
00038 };
00039 
00040 #endif // vcsl_polar_h_