Commit b0021b1b749db45f35f17fa7c43bcc64c2e47490
Committed by
Jürgen Knödlseder
1 parent
0d4379fc
Minor improvements in code documentation.
Showing
2 changed files
with
8 additions
and
3 deletions
include/GSkyRegionRect.hpp
| ... | ... | @@ -48,6 +48,9 @@ |
| 48 | 48 | * The class holds several properties such as solid angle subtended by the |
| 49 | 49 | * region and computed through internal method compute_solid(). |
| 50 | 50 | * |
| 51 | + * The position angle counts counter-clockwise from celestial North and is | |
| 52 | + * aligned with the height axis of the rectangle. | |
| 53 | + * | |
| 51 | 54 | ***************************************************************************/ |
| 52 | 55 | class GSkyRegionRect : public GSkyRegion { |
| 53 | 56 | ... | ... |
src/sky/GSkyRegionRect.cpp
| ... | ... | @@ -258,7 +258,8 @@ GSkyRegionRect* GSkyRegionRect::clone(void) const |
| 258 | 258 | * @param[in] posang Position angle [radians]. |
| 259 | 259 | * |
| 260 | 260 | * Sets the position angle of the rectangular sky region. The position angle |
| 261 | - * is counted counterclockwise from North. | |
| 261 | + * is counted counterclockwise from cel. North and is aligned to the rect | |
| 262 | + * height. | |
| 262 | 263 | ***************************************************************************/ |
| 263 | 264 | void GSkyRegionRect::posang(const double& posang) |
| 264 | 265 | { |
| ... | ... | @@ -279,7 +280,8 @@ void GSkyRegionRect::posang(const double& posang) |
| 279 | 280 | * @param[in] posang Position angle [degrees]. |
| 280 | 281 | * |
| 281 | 282 | * Sets the position angle of the rectangular sky region. The position angle |
| 282 | - * is counted counterclockwise from North. | |
| 283 | + * is counted counterclockwise from cel. North and is aligned to the rect | |
| 284 | + * height. | |
| 283 | 285 | ***************************************************************************/ |
| 284 | 286 | void GSkyRegionRect::posang_deg(const double& posang) |
| 285 | 287 | { |
| ... | ... | @@ -333,7 +335,7 @@ void GSkyRegionRect::width(const double& width) |
| 333 | 335 | * Height value is less than 0. |
| 334 | 336 | * |
| 335 | 337 | * Sets the height of the rectangular sky region. Only non-negative radii are |
| 336 | - * allowed. | |
| 338 | + * allowed. For zero posang, the height axis is pointing to celestial north. | |
| 337 | 339 | ***************************************************************************/ |
| 338 | 340 | void GSkyRegionRect::height(const double& height) |
| 339 | 341 | { | ... | ... |