vcsl_polar.h
Go to the documentation of this file.
1 #ifndef vcsl_polar_h_
2 #define vcsl_polar_h_
3 //:
4 // \file
5 // \brief Planar polar coordinate system
6 // \author Francois BERTEL
7 //
8 // \verbatim
9 // Modifications
10 // 2000/06/28 Francois BERTEL Creation. Adapted from IUE
11 // 2001/04/10 Ian Scott (Manchester) Converted perceps header to doxygen
12 // 2004/09/10 Peter Vanroose Inlined all 1-line methods in class decl
13 // \endverbatim
14 
15 #include <vcsl/vcsl_spatial.h>
16 #include <vcsl/vcsl_polar_sptr.h>
17 
18 //: Planar coordinate system specified by the parameters rho and theta
20  : public vcsl_spatial
21 {
22  public:
23  //***************************************************************************
24  // Constructors/Destructor
25  //***************************************************************************
26 
27  // Default constructor.
28  vcsl_polar();
29 
30  // Destructor
31  ~vcsl_polar() override = default;
32 
33  //***************************************************************************
34  // Because VXL does not necessarily use dynamic_cast<>
35  //***************************************************************************
36 
37  const vcsl_polar *cast_to_polar() const override { return this; }
38 };
39 
40 #endif // vcsl_polar_h_
Planar coordinate system specified by the parameters rho and theta.
Definition: vcsl_polar.h:19
A spatial coordinate system.
Definition: vcsl_spatial.h:41
const vcsl_polar * cast_to_polar() const override
Definition: vcsl_polar.h:37
A spatial coordinate system.
~vcsl_polar() override=default