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
17namespace 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 **/
28 /** Clockwise **/
30 /** Counter-Clockwise **/
32 };
34
35 enum class Winding : uint16_t {
36 /** Clockwise **/
38 /** Counter-Clockwise **/
40 };
42
43 /**@}*/
44
45} // namespace jau::math::geom
46
47#endif /* JAU_MATH_GEOM_GEOM_HPP_ */
#define JAU_MAKE_ENUM_STRING(type,...)
@ CCW
Counter-Clockwise.
Definition geom.hpp:31