Debian Codegraph @

pencil/include/geometry/geometry_connector_segment.h

raw
1 /* File: geometry_connector_segment.h; Copyright and License: see below */
2
3 #ifndef GEOMETRY_CONNECTOR_SEGMENT_H
4 #define GEOMETRY_CONNECTOR_SEGMENT_H
5
6 /* public file for the doxygen documentation: */
7 /*!
8 * \file
9 * \brief Identified line segments of a connector.
10 *
11 * The connector consists of a source-end,
12 * connected to a main-line, connected to a destination-end.
13 */
14
15 /*!
16 * \brief constants identifying connector segments
17 */
18 enum geometry_connector_segment_enum {
19 GEOMETRY_CONNECTOR_SEGMENT_SOURCE = 0,
20 GEOMETRY_CONNECTOR_SEGMENT_MAIN = 1,
21 GEOMETRY_CONNECTOR_SEGMENT_DESTINATION = 2,
22 GEOMETRY_CONNECTOR_SEGMENT_MAX = 3
23 };
24
25 typedef enum geometry_connector_segment_enum geometry_connector_segment_t;
26
27 #endif /* GEOMETRY_CONNECTOR_SEGMENT_H */
28
29
30 /*
31 Copyright 2022-2026 Andreas Warnke
32
33 Licensed under the Apache License, Version 2.0 (the "License");
34 you may not use this file except in compliance with the License.
35 You may obtain a copy of the License at
36
37 http://www.apache.org/licenses/LICENSE-2.0
38
39 Unless required by applicable law or agreed to in writing, software
40 distributed under the License is distributed on an "AS IS" BASIS,
41 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
42 See the License for the specific language governing permissions and
43 limitations under the License.
44 */