PCL
pcl::SphericalRotation Class Reference

Rotation in spherical coordinates. More...

#include <SphericalRotation.h>

Public Member Functions

 SphericalRotation ()=default
 
 SphericalRotation (const SphericalRotation &)=default
 
 SphericalRotation (double lon0, double lat0, double phi0, double theta0, double phip, const Optional< double > &thetap)
 
DPoint CelestialToNative (const DPoint &cp) const
 
DPoint NativeToCelestial (const DPoint &np) const
 
SphericalRotationoperator= (const SphericalRotation &)=default
 

Detailed Description

Definition at line 77 of file SphericalRotation.h.

Constructor & Destructor Documentation

◆ SphericalRotation() [1/3]

pcl::SphericalRotation::SphericalRotation ( )
default

Default constructor.

◆ SphericalRotation() [2/3]

pcl::SphericalRotation::SphericalRotation ( const SphericalRotation )
default

Copy constructor.

◆ SphericalRotation() [3/3]

pcl::SphericalRotation::SphericalRotation ( double  lon0,
double  lat0,
double  phi0,
double  theta0,
double  phip,
const Optional< double > &  thetap 
)

Construction with explicit initialization.

Parameters
lon0Celestial longitude of the reference point in degrees.
lat0Celestial latitude of the reference point in degrees.
phi0Native projection longitude of the reference point in degrees.
theta0Native projection latitude of the reference point in degrees.
phipNative projection longitude of the north celestial pole in degrees.
thetapNative projection latitude of the north celestial pole in degrees. This parameter is optional. If not specified, 90 degrees will be assumed.

Member Function Documentation

◆ CelestialToNative()

DPoint pcl::SphericalRotation::CelestialToNative ( const DPoint cp) const

Returns the projection native coordinates corresponding to the specified location in celestial coordinates.

◆ NativeToCelestial()

DPoint pcl::SphericalRotation::NativeToCelestial ( const DPoint np) const

Returns the celestial coordinates corresponding to the specified location in projection native coordinates.

◆ operator=()

SphericalRotation& pcl::SphericalRotation::operator= ( const SphericalRotation )
default

Copy assignment operator. Returns a reference to this object.


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