Opened 21 years ago
Closed 21 years ago
#589 closed defect (fixed)
psCoordTPToSky and psCoordSkyToTP not implented
| Reported by: | eugene | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | camera | Version: | 0.8.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
psCoordTPToSky and psCoordSkyToTP are not implented in rel8. These functions
are not well explained in the SDRS. Until the EOC code is finished, these
functions should simple pass the projection through to psProject / psDeproject.
Change History (5)
comment:1 by , 21 years ago
| Owner: | changed from to |
|---|
comment:2 by , 21 years ago
| Owner: | changed from to |
|---|
comment:3 by , 21 years ago
| Owner: | changed from to |
|---|
comment:4 by , 21 years ago
| Owner: | changed from to |
|---|
No, I understand that the plane transform is what is intended. The idea is that
since we're looking at a very small patch on the sky, we don't have to worry
about spherical trigonometry. Applying the psPlaneTransform will do everything
that's required, except that you need to stuff the output psPlane coordinates
into the psSphere.
comment:5 by , 21 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
These should be fully coded in the current CVS.

I just implemented these yesterday.
On a similar note, the CelltoSkyQuick and SkyToCellQuick functions presumably
expect to use the ->toSky transform of the psCell struct. However, that
tarnsform is a plane transform. Should it be a SphereTransform instead? If
not, how should I get sphereical coords from a plane transform?