Public Member Functions | |
| TopClip (double t) | |
| bool | inside (const Point2 &p) const |
| Check a point is outside this clip. | |
| Point2 | clip (const Point2 &u, const Point2 &v) const |
| Determine the point where a line crosses this clip. | |
Private Attributes | |
| double | topY |
| Top of y range. | |
| Mercator::TopClip::TopClip | ( | double | t | ) | [inline] |
Constructor
| t | top of y range |
| bool Mercator::TopClip::inside | ( | const Point2 & | p | ) | const [inline] |
Check a point is outside this clip.
| p | point to be checked. |
References topY.
| Point2 Mercator::TopClip::clip | ( | const Point2 & | u, | |
| const Point2 & | v | |||
| ) | const [inline] |
Determine the point where a line crosses this clip.
| u | one of of a line that crosses this clip | |
| v | one of of a line that crosses this clip |
References topY.
1.5.6