Structure storing the data for the borders of a tile. This includes the 4 east-west-north-south borders, as well as the corners.
More...
#include <borders_data.h>
|
typedef TinCreation::Point_3 | Point_3 |
|
|
std::vector< Point_3 > | tileEastVertices |
| Vertices to maintain for the eastern border of the tile.
|
|
std::vector< Point_3 > | tileWestVertices |
| Vertices to maintain for the western border of the tile.
|
|
std::vector< Point_3 > | tileNorthVertices |
| Vertices to maintain for the northern border of the tile.
|
|
std::vector< Point_3 > | tileSouthVertices |
| Vertices to maintain for the southern border of the tile.
|
|
bool | constrainNorthWestCorner |
| Flag indicating whether the north-west corner should be constrained.
|
|
bool | constrainNorthEastCorner |
| Flag indicating whether the north-east corner should be constrained.
|
|
bool | constrainSouthWestCorner |
| Flag indicating whether the south-west corner should be constrained.
|
|
bool | constrainSouthEastCorner |
| Flag indicating whether the north-east corner should be constrained.
|
|
Point_3 | northWestCorner |
| The north-west corner to maintain (if constrainNorthWestCorner is set)
|
|
Point_3 | northEastCorner |
| The north-east corner to maintain (if constrainNorthEastCorner is set)
|
|
Point_3 | southWestCorner |
| The south-west corner to maintain (if constrainSouthWestCorner is set)
|
|
Point_3 | southEastCorner |
| The south-east corner to maintain (if constrainSouthEastCorner is set)
|
|
Structure storing the data for the borders of a tile. This includes the 4 east-west-north-south borders, as well as the corners.
◆ BordersData()
Copy constructor.
- Parameters
-
◆ isNorthEastCornerConstrainedByBorders()
bool BordersData::isNorthEastCornerConstrainedByBorders |
( |
| ) |
|
|
inline |
Check if the north-east corner is already constrained by one of the borders.
- Returns
- true if the northern or eastern borders are not empty, since the corner should be one of the points in the vector (not checked though)
◆ isNorthWestCornerConstrainedByBorders()
bool BordersData::isNorthWestCornerConstrainedByBorders |
( |
| ) |
|
|
inline |
Check if the north-west corner is already constrained by one of the borders.
- Returns
- true if the northern or western borders are not empty, since the corner should be one of the points in the vector (not checked though)
◆ isSouthEastCornerConstrainedByBorders()
bool BordersData::isSouthEastCornerConstrainedByBorders |
( |
| ) |
|
|
inline |
Check if the south-east corner is already constrained by one of the borders.
- Returns
- true if the southern or eastern borders are not empty, since the corner should be one of the points in the vector (not checked though)
◆ isSouthWestCornerConstrainedByBorders()
bool BordersData::isSouthWestCornerConstrainedByBorders |
( |
| ) |
|
|
inline |
Check if the south-west corner is already constrained by one of the borders.
- Returns
- true if the southern or western borders are not empty, since the corner should be one of the points in the vector (not checked though)
◆ useNorthEastCorner()
bool BordersData::useNorthEastCorner |
( |
| ) |
|
|
inline |
Check wether north-east corner needs to be used.
- Returns
- true if the validity flag for the north-east corner is set, and the northern-eastern borders are empty (otherwise, it will already be part of them)
◆ useNorthWestCorner()
bool BordersData::useNorthWestCorner |
( |
| ) |
|
|
inline |
Check wether north-west corner needs to be used.
- Returns
- true if the validity flag for the north-west corner is set, and the northern-western borders are empty (otherwise, it will already be part of them)
◆ useSouthEastCorner()
bool BordersData::useSouthEastCorner |
( |
| ) |
|
|
inline |
Check wether south-east corner needs to be used.
- Returns
- true if the validity flag for the south-east corner is set, and the southern-eastern borders are empty (otherwise, it will already be part of them)
◆ useSouthWestCorner()
bool BordersData::useSouthWestCorner |
( |
| ) |
|
|
inline |
Check wether south-west corner needs to be used.
- Returns
- true if the validity flag for the south-west corner is set, and the southern-western borders are empty (otherwise, it will already be part of them)
The documentation for this class was generated from the following file: