GreatCircleArc Class Reference
#include <GreatCircles.h>
List of all members.
Constructor & Destructor Documentation
| GreatCircleArc::GreatCircleArc |
( |
|
) |
|
|
|
|
Create a great circle arc.
- Parameters:
-
| startLat | lattiude of the first point in degrees. |
| startLong | longitude of the first point in degrees. |
| endLat | lattide of the second point in degrees. |
| endLong | longitude of the second point in degrees. |
- Todo:
- don't check the +/- 180 degree boundary when projection does not break there.
|
Member Function Documentation
| void GreatCircleArc::draw |
( |
bool |
withCross = true |
) |
const |
|
|
|
Draw the great circle arc on the fast preview.
- Todo:
- It is probably more apropriate to use thin rectangles than lines. There are hardware defined limits on what width a line can be, and the worst case is the hardware only alows lines 1 pixel thick.
|
| double GreatCircleArc::getxscale |
( |
|
) |
const |
|
|
|
Return the square of the minimal distance between the great circle arc and a coorinate on the panorama.
This is an approximation, but should be reasonable. |
Member Data Documentation
The documentation for this class was generated from the following files: