Gamp
v0.0.7-36-g24b1eb6
Gamp: Graphics, Audio, Multimedia and Processing
Loading...
Searching...
No Matches
geom.hpp
Go to the documentation of this file.
1
/*
2
* Author: Sven Gothel <sgothel@jausoft.com>
3
* Copyright Gothel Software e.K.
4
*
5
* SPDX-License-Identifier: MIT
6
*
7
* This Source Code Form is subject to the terms of the MIT License
8
* If a copy of the MIT was not distributed with this file,
9
* you can obtain one at https://opensource.org/license/mit/.
10
*/
11
#ifndef JAU_MATH_GEOM_GEOM_HPP_
12
#define JAU_MATH_GEOM_GEOM_HPP_
13
14
#include <cstdint>
15
#include <
jau/enum_util.hpp
>
16
17
namespace
jau::math::geom
{
18
using namespace
jau::enums;
19
20
/** \addtogroup Math
21
*
22
* @{
23
*/
24
25
enum class
orientation_t
: uint16_t {
26
/** Collinear **/
27
COL
,
28
/** Clockwise **/
29
CW
,
30
/** Counter-Clockwise **/
31
CCW
32
};
33
JAU_MAKE_ENUM_STRING
(
orientation_t
,
COL
,
CW
,
CCW
);
34
35
enum class
Winding
: uint16_t {
36
/** Clockwise **/
37
CW
,
38
/** Counter-Clockwise **/
39
CCW
40
};
41
JAU_MAKE_ENUM_STRING
(
Winding
,
CW
,
CCW
);
42
43
/**@}*/
44
45
}
// namespace jau::math::geom
46
47
#endif
/* JAU_MATH_GEOM_GEOM_HPP_ */
enum_util.hpp
JAU_MAKE_ENUM_STRING
#define JAU_MAKE_ENUM_STRING(type,...)
Definition
enum_util.hpp:611
jau::math::geom::Winding
Winding
Definition
geom.hpp:35
jau::math::geom::orientation_t
orientation_t
Definition
geom.hpp:25
jau::math::geom::orientation_t::CCW
@ CCW
Counter-Clockwise.
Definition
geom.hpp:31
jau::math::geom::orientation_t::CW
@ CW
Clockwise.
Definition
geom.hpp:29
jau::math::geom::orientation_t::COL
@ COL
Collinear.
Definition
geom.hpp:27
jau::math::geom
Definition
aabbox2f.hpp:16
jaulib
include
jau
math
geom
geom.hpp
Generated by
1.13.2