Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
StraightLineFromSphericals Class Reference

#include <GreatCircles.h>

Inheritance diagram for StraightLineFromSphericals:
Inheritance graph

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< LineSegmentm_lines
 
VisualizationStatem_visualizationState
 

Detailed Description

Definition at line 117 of file GreatCircles.h.

Constructor & Destructor Documentation

StraightLineFromSphericals::StraightLineFromSphericals ( double  startLat,
double  startLong,
double  endLat,
double  endLong,
VisualizationState m_visualizationState 
)

Create a straight line from begin to end in spherical coordinates.

Parameters
startLatlatitude of the first point in degrees.
startLonglongitude of the first point in degrees.
endLatlatitude of the second point in degrees.
endLonglongitude 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.


The documentation for this class was generated from the following files: