vcsl_spherical.h
Go to the documentation of this file.
1 #ifndef vcsl_spherical_h_
2 #define vcsl_spherical_h_
3 //:
4 // \file
5 // \brief 3D spherical 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>
17 
18 //: 3D coordinate system specified by distance rho, angles theta and phi.
20  : public vcsl_spatial
21 {
22  public:
23  //***************************************************************************
24  // Constructors/Destructor
25  //***************************************************************************
26 
27  // Default constructor
29 
30  // Destructor
31  ~vcsl_spherical() override = default;
32 
33  //***************************************************************************
34  // Because VXL does not necessarily use dynamic_cast<>
35  //***************************************************************************
36 
37  const vcsl_spherical *cast_to_spherical() const override { return this; }
38 };
39 
40 #endif // vcsl_spherical_h_
~vcsl_spherical() override=default
3D coordinate system specified by distance rho, angles theta and phi.
const vcsl_spherical * cast_to_spherical() const override
A spatial coordinate system.
Definition: vcsl_spatial.h:41
A spatial coordinate system.