IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 20 years ago

Closed 16 years ago

#833 closed defect (fixed)

psSphereRotInvert defined wrong

Reported by: Paul Price Owned by: David.Robbins@…
Priority: high Milestone:
Component: astro Version: unspecified
Severity: normal Keywords:
Cc:

Description (last modified by eugene)

psSphereRotInvert is defined:

psSphereRot* psSphereRotInvert(

double alphaP, /< north pole latitude
double deltaP,
/< north pole longitude
double phiP /< defines the longitude in the input

system of the equatorial intersection between the two systems (e.g, the first
point of Ares).
);

whereas it is in the SDRS as:

psSphereRot *psSphereRotInvert(psSphereRot *rot)

The SDRS version is preferred.

Change History (1)

comment:1 by eugene, 16 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed

we already have psSphereRotConjugate to apply the inversion to a given psSphereRot object. The original definition of this function is somewhat redundant with that function. I'm accepting the psLib code version and have changed the SDRS to match. We thus have two functions:

psSphereRot *psSphereRotConjugate(psSphereRot *out, psSphereRot *in)

and

psSphereRot *psSphereRotInvert (...)

where the first inverts the psSphereRot in hand and the second constructs an inverted one based on euler angles.

Note: See TracTickets for help on using tickets.