AzimuthalEquidistantProjector

Search for usage in LXR

AzimuthalEquidistantProjector Class Reference

#include <azimuthalequidistantprojector.h>

Inheritance diagram for AzimuthalEquidistantProjector:

Public Member Functions

 AzimuthalEquidistantProjector (const ViewParams &p)
 
double projectionK (double x) const override
 
double projectionL (double x) const override
 
double radius () const override
 
Projection type () const override
 
- Public Member Functions inherited from Projector
 Projector (const ViewParams &p)
 
bool checkVisibility (const SkyPoint *p) const
 
QPointF clipLine (SkyPoint *p1, SkyPoint *p2) const
 
Eigen::Vector2f clipLineVec (SkyPoint *p1, SkyPoint *p2) const
 
virtual QPolygonF clipPoly () const
 
double findNorthPA (const SkyPoint *o, float x, float y) const
 
double findPA (const SkyObject *o, float x, float y) const
 
double findZenithPA (const SkyPoint *o, float x, float y) const
 
double fov () const
 
virtual SkyPoint fromScreen (const QPointF &p, dms *LST, const dms *lat, bool onlyAltAz=false) const
 
virtual QVector< Eigen::Vector2f > groundPoly (SkyPoint *labelpoint=nullptr, bool *drawLabel=nullptr) const
 
bool onScreen (const Eigen::Vector2f &p) const
 
bool onScreen (const QPointF &p) const
 
void setViewParams (const ViewParams &p)
 
QPointF toScreen (const SkyPoint *o, bool oRefract=true, bool *onVisibleHemisphere=nullptr) const
 
virtual Eigen::Vector2f toScreenVec (const SkyPoint *o, bool oRefract=true, bool *onVisibleHemisphere=nullptr) const
 
virtual bool unusablePoint (const QPointF &p) const
 
virtual void updateClipPoly ()
 
ViewParams viewParams () const
 

Additional Inherited Members

- Public Types inherited from Projector
enum  Projection {
  Lambert , AzimuthalEquidistant , Orthographic , Equirectangular ,
  Stereographic , Gnomonic , UnknownProjection
}
 
- Protected Member Functions inherited from Projector
virtual double cosMaxFieldAngle () const
 
Eigen::Vector2f derst (double x, double y) const
 
Eigen::Vector2f rst (double x, double y) const
 
- Static Protected Member Functions inherited from Projector
static SkyPoint pointAt (double az)
 
- Protected Attributes inherited from Projector
QPolygonF m_clipPolygon
 
double m_cosY0 { 0 }
 
KStarsDatam_data { nullptr }
 
double m_fov { 0 }
 
double m_sinY0 { 0 }
 
ViewParams m_vp
 

Detailed Description

Implememntation of Azimuthal equidistant projection

Definition at line 18 of file azimuthalequidistantprojector.h.

Constructor & Destructor Documentation

◆ AzimuthalEquidistantProjector()

AzimuthalEquidistantProjector::AzimuthalEquidistantProjector ( const ViewParams & p)
explicit

Definition at line 13 of file azimuthalequidistantprojector.cpp.

Member Function Documentation

◆ projectionK()

double AzimuthalEquidistantProjector::projectionK ( double x) const
overridevirtual

This function handles some of the projection-specific code.

See also
toScreen()

Reimplemented from Projector.

Definition at line 28 of file azimuthalequidistantprojector.cpp.

◆ projectionL()

double AzimuthalEquidistantProjector::projectionL ( double x) const
overridevirtual

This function handles some of the projection-specific code.

See also
toScreen()

Reimplemented from Projector.

Definition at line 34 of file azimuthalequidistantprojector.cpp.

◆ radius()

double AzimuthalEquidistantProjector::radius ( ) const
overridevirtual

Get the radius of this projection's sky circle.

Returns
the radius in radians

Reimplemented from Projector.

Definition at line 23 of file azimuthalequidistantprojector.cpp.

◆ type()

Projector::Projection AzimuthalEquidistantProjector::type ( ) const
overridevirtual

Return the type of this projection.

Implements Projector.

Definition at line 18 of file azimuthalequidistantprojector.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.