#include <GreatCircles.h>
Public Member Functions | |
| float | squareDistance (hugin_utils::FDiff2D point) const |
| Get the square of the minimal distance to a point. | |
| void | doGLcross (int point, double cscale, VisualizationState *state) const |
| Specify the line to OpenGL. Must be within a glBegin/glEnd pair. | |
| void | doGL (double width, VisualizationState *state, LineSegment *preceding=NULL, LineSegment *proceeding=NULL) const |
| Draw a meshed line. | |
Public Attributes | |
| hugin_utils::FDiff2D | vertices [2] |
|
||||||||||||||||||||
|
Draw a meshed line.
Definition at line 256 of file GreatCircles.cpp. References hugin_utils::FDiff2D, MeshManager::GetCoord3D(), VisualizationState::GetMeshManager(), VisualizationState::GetScale(), vertices, MeshManager::MeshInfo::Coord3D::x, hugin_utils::TDiff2D< T >::x, MeshManager::MeshInfo::Coord3D::y, hugin_utils::TDiff2D< T >::y, and MeshManager::MeshInfo::Coord3D::z. Referenced by GreatCircleArc::draw(), and OverviewOutlinesTool::DrawRect(). |
|
||||||||||||||||
|
Specify the line to OpenGL. Must be within a glBegin/glEnd pair.
Definition at line 431 of file GreatCircles.cpp. References hugin_utils::FDiff2D, MeshManager::GetCoord3D(), VisualizationState::GetMeshManager(), vertices, MeshManager::MeshInfo::Coord3D::x, hugin_utils::TDiff2D< T >::x, MeshManager::MeshInfo::Coord3D::y, hugin_utils::TDiff2D< T >::y, and MeshManager::MeshInfo::Coord3D::z. Referenced by GreatCircleArc::draw(). |
|
|
Get the square of the minimal distance to a point.
Definition at line 481 of file GreatCircles.cpp. References hugin_utils::FDiff2D, hugin_utils::TDiff2D< T >::squareDistance(), vertices, hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y. |
|
|
Definition at line 93 of file GreatCircles.h. Referenced by doGL(), doGLcross(), OverviewOutlinesTool::DrawRect(), GreatCircleArc::GreatCircleArc(), and squareDistance(). |
1.3.9.1