PCL
pcl::GnomonicProjection Class Reference

Gnomonic projection system. More...

#include <GnomonicProjection.h>

+ Inheritance diagram for pcl::GnomonicProjection:

Public Member Functions

 GnomonicProjection (const GnomonicProjection &)=default
 
 GnomonicProjection (double ra0, double dec0)
 
ProjectionBaseClone () const override
 
bool Direct (DPoint &pW, const DPoint &pRD) const noexcept override
 
IsoString Identifier () const override
 
bool Inverse (DPoint &pRD, const DPoint &pW) const noexcept override
 
IsoString Name () const override
 
IsoString ProjCode () const override
 
- Public Member Functions inherited from pcl::ProjectionBase
virtual ~ProjectionBase ()
 
Vector CelestialPoleNativeCoordinates () const
 
virtual void GetWCS (WCSKeywords &wcs) const
 
virtual DPoint ProjectionOrigin () const
 
Vector ReferenceCelestialCoordinates () const
 
Vector ReferenceNativeCoordinates () const
 

Protected Member Functions

bool Project (DPoint &pW, const DPoint &pN) const noexcept override
 
bool Unproject (DPoint &pN, const DPoint &pW) const noexcept override
 
- Protected Member Functions inherited from pcl::ProjectionBase
 ProjectionBase ()=default
 
 ProjectionBase (const ProjectionBase &)=default
 
void InitFromRefPoint (double lng0, double lat0, const Optional< double > &lonpole=Optional< double >())
 
void InitFromWCS (const WCSKeywords &)
 

Additional Inherited Members

- Static Public Member Functions inherited from pcl::ProjectionBase
static double Distance (const DPoint &p1, const DPoint &p2)
 
static double DistanceFast (const DPoint &p1, const DPoint &p2)
 
static IsoString ProjectionIdentifierToWCSCode (const IsoString &identifier)
 
static IsoString WCSCodeToProjectionIdentifier (const IsoString &wcsCode)
 

Detailed Description

Definition at line 76 of file GnomonicProjection.h.

Constructor & Destructor Documentation

◆ GnomonicProjection() [1/2]

pcl::GnomonicProjection::GnomonicProjection ( double  ra0,
double  dec0 
)
inline

Constructs a default GnomonicProjection object with the specified origin equatorial coordinates ra0 and dec0 in degrees.

Definition at line 84 of file GnomonicProjection.h.

References pcl::Rad(), and pcl::SinCos().

◆ GnomonicProjection() [2/2]

pcl::GnomonicProjection::GnomonicProjection ( const GnomonicProjection )
default

Copy constructor.

Member Function Documentation

◆ Clone()

ProjectionBase* pcl::GnomonicProjection::Clone ( ) const
inlineoverridevirtual

Returns a dynamically allocated duplicate of this object.

Implements pcl::ProjectionBase.

Definition at line 100 of file GnomonicProjection.h.

◆ Direct()

bool pcl::GnomonicProjection::Direct ( DPoint pW,
const DPoint pRD 
) const
overridevirtualnoexcept

Transforms from celestial coordinates to world coordinates.

Reimplemented from pcl::ProjectionBase.

◆ Identifier()

IsoString pcl::GnomonicProjection::Identifier ( ) const
inlineoverridevirtual

Returns the XISF serializable projection identifier.

Implements pcl::ProjectionBase.

Definition at line 116 of file GnomonicProjection.h.

◆ Inverse()

bool pcl::GnomonicProjection::Inverse ( DPoint pRD,
const DPoint pW 
) const
overridevirtualnoexcept

Transforms from world coordinates to celestial coordinates.

Reimplemented from pcl::ProjectionBase.

References pcl::GenericPoint< T >::x, and pcl::GenericPoint< T >::y.

◆ Name()

IsoString pcl::GnomonicProjection::Name ( ) const
inlineoverridevirtual

Returns the readable name of this projection system.

Implements pcl::ProjectionBase.

Definition at line 124 of file GnomonicProjection.h.

◆ ProjCode()

IsoString pcl::GnomonicProjection::ProjCode ( ) const
inlineoverridevirtual

Returns the WCS projection identifier for this projection system.

Implements pcl::ProjectionBase.

Definition at line 108 of file GnomonicProjection.h.

◆ Project()

bool pcl::GnomonicProjection::Project ( DPoint pW,
const DPoint pN 
) const
inlineoverrideprotectedvirtualnoexcept

Transforms from world coordinates to native spherical coordinates.

Implements pcl::ProjectionBase.

Definition at line 151 of file GnomonicProjection.h.

◆ Unproject()

bool pcl::GnomonicProjection::Unproject ( DPoint pN,
const DPoint pW 
) const
inlineoverrideprotectedvirtualnoexcept

Transforms from native spherical coordinates to world coordinates.

Implements pcl::ProjectionBase.

Definition at line 156 of file GnomonicProjection.h.


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