OpenLexocad  27.0
CompoundPlaneAngle.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Geom/geom_defines.h>
4 
5 #include <vector>
6 
7 
8 
9 namespace Geom
10 {
15 {
16 public:
18  // //
19  // --------------------- BEGIN API --------------------- //
20  // //
21  // ATTENTION: DO NOT CHANGE ANY SIGNATURES IN THE API ! //
22  // //
24 
28  CompoundPlaneAngle(int degrees, int minutes, int seconds);
30  CompoundPlaneAngle(int degrees, int minutes, int seconds, int millionthSeconds);
31 
33  void setDegrees(int degrees);
35  int getDegrees() const;
37  void setMinutes(int minutes);
39  int getMinutes() const;
41  void setSeconds(int seconds);
43  int getSeconds() const;
46  void setMillionthSeconds(int millionthSeconds);
48  int getMillionthSeconds() const;
50  std::vector<int> getValues() const;
51 
52  bool operator==(const Geom::CompoundPlaneAngle& other) const;
53  bool operator!=(const Geom::CompoundPlaneAngle& other) const;
54 
56  // //
57  // ---------------------- END API ---------------------- //
58  // //
60 
61 
62 private:
63  int _degrees;
64  int _minutes;
65  int _seconds;
66  int _millionthSeconds;
67 };
68 } // namespace Geom
Definition: Rotation.h:5
A compound measure of plane angle in degrees, minutes, seconds, and optionally millionth-seconds of a...
Definition: CompoundPlaneAngle.h:14
constexpr bool operator!=(const basic_hashed_string< Char > &lhs, const basic_hashed_string< Char > &rhs) ENTT_NOEXCEPT
Compares two hashed strings.
Definition: entt.hpp:570
#define GEOM_EXPORT
Definition: geom_defines.h:8