PCL
pcl::ProjectionFactory Class Reference

Selectable projection system. More...

#include <ProjectionFactory.h>

Static Public Member Functions

static ProjectionBaseCreate (const WCSKeywords &wcs)
 
static ProjectionBaseCreateByIdentifier (const IsoString &identifier, double ra, double dec)
 
static ProjectionBaseCreateByWCSCode (const IsoString &code, double ra, double dec)
 

Detailed Description

ProjectionFactory implements a projection system that can be selected upon construction among all of the projections implemented in the PixInsight/PCL platform.

Definition at line 80 of file ProjectionFactory.h.

Member Function Documentation

◆ Create()

static ProjectionBase* pcl::ProjectionFactory::Create ( const WCSKeywords wcs)
static

Creates a new projection with data acquired from the specified WCS keywords.

◆ CreateByIdentifier()

static ProjectionBase* pcl::ProjectionFactory::CreateByIdentifier ( const IsoString identifier,
double  ra,
double  dec 
)
static

Creates a new projection for the specified projection identifier and origin equatorial coordinates ra and dec in degrees.

The following projection identifiers are supported in current PCL versions:

Gnomonic
Stereographic
PlateCarree
Mercator
HammerAitoff
ZenithalEqualArea
Orthographic

The specified projection identifier is case sensitive and can contain leading and trailing spaces.

◆ CreateByWCSCode()

static ProjectionBase* pcl::ProjectionFactory::CreateByWCSCode ( const IsoString code,
double  ra,
double  dec 
)
static

Creates a new projection for the specified WCS projection code and origin equatorial coordinates ra and dec in degrees.

The following WCS projection codes are supported in current PCL versions:

TAN
STG
CAR
MER
AIT
ZEA
SIN

The specified WCS projection code is case insensitive and can contain leading and trailing spaces.


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