marble
EclipsesItem.cpp
Go to the documentation of this file.
301 m_centralLine << GeoDataCoordinates( GeoDataCoordinates::normalizeLon(lng1, GeoDataCoordinates::Degree),
309 m_centralLine << GeoDataCoordinates( GeoDataCoordinates::normalizeLon(lng1, GeoDataCoordinates::Degree),
324 lowerUmbra << GeoDataCoordinates( GeoDataCoordinates::normalizeLon(lng1, GeoDataCoordinates::Degree),
327 upperUmbra << GeoDataCoordinates( GeoDataCoordinates::normalizeLon(lng1, GeoDataCoordinates::Degree),
334 lowerUmbra << GeoDataCoordinates( GeoDataCoordinates::normalizeLon(lng1, GeoDataCoordinates::Degree),
339 upperUmbra << GeoDataCoordinates( GeoDataCoordinates::normalizeLon(lng2, GeoDataCoordinates::Degree),
366 m_shadowConeUmbra << GeoDataCoordinates( GeoDataCoordinates::normalizeLon(lnf[j], GeoDataCoordinates::Degree),
376 m_shadowConePenumbra << GeoDataCoordinates( GeoDataCoordinates::normalizeLon(lnf[j], GeoDataCoordinates::Degree),
386 m_shadowCone60MagPenumbra << GeoDataCoordinates( GeoDataCoordinates::normalizeLon(lnf[j], GeoDataCoordinates::Degree),
402 m_southernPenumbra << GeoDataCoordinates( GeoDataCoordinates::normalizeLon(lng1, GeoDataCoordinates::Degree),
412 m_northernPenumbra << GeoDataCoordinates( GeoDataCoordinates::normalizeLon(lng1, GeoDataCoordinates::Degree),
424 *lowerBoundary << GeoDataCoordinates( GeoDataCoordinates::normalizeLon(lng1, GeoDataCoordinates::Degree),
429 *upperBoundary << GeoDataCoordinates( GeoDataCoordinates::normalizeLon(lng3, GeoDataCoordinates::Degree),
449 *lowerBoundary << GeoDataCoordinates( GeoDataCoordinates::normalizeLon(lng2, GeoDataCoordinates::Degree),
464 *upperBoundary << GeoDataCoordinates( GeoDataCoordinates::normalizeLon(lng4, GeoDataCoordinates::Degree),
535 QVector<GeoDataCoordinates>::const_iterator iter = sunBoundaries.at( closestSection )->constEnd();
const GeoDataLineString & northernPenumbra()
Return the eclipse's northern penumbra.
Definition: EclipsesItem.cpp:171
Definition: EclipsesItem.h:54
A LinearRing that allows to store a closed, contiguous set of line segments.
Definition: GeoDataLinearRing.h:68
GeoDataLinearRing shadowConePenumbra()
Return the shadow cone of the penumbra.
Definition: EclipsesItem.cpp:189
GeoDataLinearRing shadowCone60MagPenumbra()
Return the shadow cone of the penumbra at 60 percent magnitude.
Definition: EclipsesItem.cpp:198
const GeoDataCoordinates & maxLocation()
Return the coordinates of the eclipse's maximum.
Definition: EclipsesItem.cpp:135
void getShadowCone(double mjd, bool umbra, int numpts, double *lat, double *lng)
Definition: eclsolar.cpp:2706
EclipsesItem::EclipsePhase phase() const
Returns the phase of this eclipse event.
Definition: EclipsesItem.cpp:54
static qreal normalizeLon(qreal lon, GeoDataCoordinates::Unit=GeoDataCoordinates::Radian)
normalize the longitude to always be -M_PI <= lon <= +M_PI (Radian).
Definition: GeoDataCoordinates.cpp:776
Definition: EclipsesItem.h:47
void setLocalPos(double lat, double lng, double hgt)
Definition: eclsolar.cpp:202
int GRSBound(bool firstc, double &lat1, double &lng1, double &lat2, double &lng2)
Definition: eclsolar.cpp:1972
const QList< GeoDataLinearRing > & sunBoundaries()
Return the eclipse's sun boundaries.
Definition: EclipsesItem.cpp:207
const_iterator constEnd() const
const T & at(int i) const
void removeAt(int i)
int partialDurationHours() const
Returns the number of hours the partial phase takes place.
Definition: EclipsesItem.cpp:119
T & first()
int eclPltCentral(bool firstc, double &lat, double &lng)
Definition: eclsolar.cpp:1582
QString tr(const char *sourceText, const char *disambiguation, int n)
int size() const
int centralBound(bool firstc, double &lat1, double &lng1, double &lat2, double &lng2)
Definition: eclsolar.cpp:2621
void getDatefromMJD(double mjd, int &year, int &month, int &day, int &hour, int &min, double &sec) const
Definition: eclsolar.cpp:438
int GNSBound(bool firstc, bool north, double &lat, double &lng)
Definition: eclsolar.cpp:1784
Definition: eclsolar.h:22
const QDateTime & dateMaximum() const
Returns the date of the eclipse event's maximum.
Definition: EclipsesItem.cpp:104
EclipsesItem(EclSolar *ecl, int index, QObject *parent=0)
Construct the EclipseItem object and trigger basic calculations.
Definition: EclipsesItem.cpp:20
A LineString that allows to store a contiguous set of line segments.
Definition: GeoDataLineString.h:75
const QDateTime & endDatePartial() const
Returns the end date of the eclipse's partial phase.
Definition: EclipsesItem.cpp:114
void pop_back()
uint toTime_t() const
bool takesPlaceAt(const QDateTime &dateTime) const
Check if the event takes place at a given datetime.
Definition: EclipsesItem.cpp:48
const_iterator constBegin() const
GeoDataLinearRing shadowConeUmbra()
Return the shadow cone of the umbra.
Definition: EclipsesItem.cpp:180
T & last()
void prepend(const T &value)
QString phaseText() const
Returns a human readable representation of the eclipse type.
Definition: EclipsesItem.cpp:82
Definition: MarbleGlobal.h:32
int getLocalMax(double &mjdmax, double &magmax, double &elmax)
Definition: eclsolar.cpp:275
const QDateTime & startDateTotal() const
Returns the start date of the eclipse's total phase.
Definition: EclipsesItem.cpp:125
const GeoDataLineString & southernPenumbra()
Return the eclipse's southern penumbra.
Definition: EclipsesItem.cpp:162
const QDateTime & endDateTotal() const
Returns the end date of the eclipse's total phase.
Definition: EclipsesItem.cpp:130
const QDateTime & startDatePartial() const
Returns the start date of the eclipse's partial phase.
Definition: EclipsesItem.cpp:109
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.