|
Hugintrunk
0.1
|
#include <GreatCircles.h>

Public Member Functions | |
| StraightLineFromSphericals (double startLat, double startLong, double endLat, double endLong, VisualizationState &m_visualizationState) | |
| Create a straight line from begin to end in spherical coordinates. More... | |
Public Member Functions inherited from GreatCircleArc | |
| GreatCircleArc () | |
| Create a bad great circle arc. More... | |
| GreatCircleArc (double startLat, double startLong, double endLat, double endLong, VisualizationState &m_visualizationState) | |
| Create a great circle arc. More... | |
| void | draw (bool withCross=true, double width=1.0) const |
| Draw the great circle arc on the fast preview. More... | |
| float | squareDistance (hugin_utils::FDiff2D point) const |
| Return the square of the minimal distance between the great circle arc and a coordinate on the panorama. More... | |
| double | getxscale () const |
Additional Inherited Members | |
Public Attributes inherited from GreatCircleArc | |
| double | m_xscale |
Protected Attributes inherited from GreatCircleArc | |
| std::vector< LineSegment > | m_lines |
| VisualizationState * | m_visualizationState |
Definition at line 117 of file GreatCircles.h.
| StraightLineFromSphericals::StraightLineFromSphericals | ( | double | startLat, |
| double | startLong, | ||
| double | endLat, | ||
| double | endLong, | ||
| VisualizationState & | m_visualizationState | ||
| ) |
Create a straight line from begin to end in spherical coordinates.
| startLat | latitude of the first point in degrees. |
| startLong | longitude of the first point in degrees. |
| endLat | latitude of the second point in degrees. |
| endLong | longitude of the second point in degrees. |
Definition at line 519 of file GreatCircles.cpp.
References HuginBase::PTools::Transform::createInvTransform(), HuginBase::BaseSrcPanoImage::EQUIRECTANGULAR, VisualizationState::GetOptions(), VisualizationState::GetScale(), celeste::line, GreatCircleArc::m_lines, GreatCircleArc::m_visualizationState, GreatCircleArc::m_xscale, HuginBase::PTools::Transform::transformImgCoord(), and GreatCircleArc::LineSegment::vertices.
1.8.5