OpenLexocad  27.1
CompoundPlaneAngle.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <vector>
4 
5 
6 
7 namespace Geom
8 {
12 class LX_GEOM_EXPORT CompoundPlaneAngle
13 {
14 public:
16  // //
17  // --------------------- BEGIN API --------------------- //
18  // //
19  // ATTENTION: DO NOT CHANGE ANY SIGNATURES IN THE API ! //
20  // //
22 
26  CompoundPlaneAngle(int degrees, int minutes, int seconds);
28  CompoundPlaneAngle(int degrees, int minutes, int seconds, int millionthSeconds);
29 
31  void setDegrees(int degrees);
33  int getDegrees() const;
35  void setMinutes(int minutes);
37  int getMinutes() const;
39  void setSeconds(int seconds);
41  int getSeconds() const;
44  void setMillionthSeconds(int millionthSeconds);
46  int getMillionthSeconds() const;
48  std::vector<int> getValues() const;
49 
50  bool operator==(const Geom::CompoundPlaneAngle& other) const;
51  bool operator!=(const Geom::CompoundPlaneAngle& other) const;
52 
54  // //
55  // ---------------------- END API ---------------------- //
56  // //
58 
59 
60 private:
61  int _degrees;
62  int _minutes;
63  int _seconds;
64  int _millionthSeconds;
65 };
66 } // namespace Geom
Definition: Variant.h:60
A compound measure of plane angle in degrees, minutes, seconds, and optionally millionth-seconds of a...
Definition: CompoundPlaneAngle.h:12
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