Helper to clip points to a given range.
More...
|
| BottomClip (CoordType t) |
|
bool | inside (const Point2 &p) const |
| Check a point is outside this clip. More...
|
|
Point2 | clip (const Point2 &u, const Point2 &v) const |
| Determine the point where a line crosses this clip. More...
|
|
Helper to clip points to a given range.
Definition at line 73 of file Area.cpp.
◆ BottomClip()
Mercator::BottomClip::BottomClip |
( |
CoordType |
t | ) |
|
|
inlineexplicit |
Constructor
- Parameters
-
Definition at line 78 of file Area.cpp.
◆ clip()
Point2 Mercator::BottomClip::clip |
( |
const Point2 & |
u, |
|
|
const Point2 & |
v |
|
) |
| const |
|
inline |
Determine the point where a line crosses this clip.
- Parameters
-
u | one of of a line that crosses this clip |
v | one of of a line that crosses this clip |
- Returns
- a point where the line cross this clip.
Definition at line 94 of file Area.cpp.
References bottomZ.
◆ inside()
bool Mercator::BottomClip::inside |
( |
const Point2 & |
p | ) |
const |
|
inline |
Check a point is outside this clip.
- Parameters
-
- Returns
- true if p is outside the clip.
Definition at line 84 of file Area.cpp.
References bottomZ.
◆ bottomZ
CoordType Mercator::BottomClip::bottomZ |
The documentation for this struct was generated from the following file: