Reference · How big a Messier object is on the sky and which way it lies, and its outline
DeepSkyShapetype
How big a deep-sky object is on the sky and which way it lies. Each part is a measurement or it is undefined: nothing is guessed. Where the minor axis or the angle is missing, the object is
known to be at least that large and no more.
Import it
import type { DeepSkyShape } from "@johnmorrisdotca/hoshi-stars/deep-sky/shape";
Also exported from: @johnmorrisdotca/hoshi-stars/deep-sky/ngc-ic-shape
Definition
interface DeepSkyShape {
majorArcmin: number | undefined;
minorArcmin: number | undefined;
positionAngle: number | undefined;
source: DeepSkyShapeSource | undefined;
}
Members
| Name | Type | Description |
|---|---|---|
majorArcmin | number | undefined | The longest way across, in arc-minutes, or |
minorArcmin | number | undefined | The shortest way across, in arc-minutes, or |
positionAngle | number | undefined | The angle of the major axis in degrees, 0 up to 180, measured from north through east (90 is east-west), or |
source | DeepSkyShapeSource | undefined | The catalogue of the major axis, or |
Examples
import { deepSkyShape } from "@johnmorrisdotca/hoshi-stars/deep-sky/shape";
import { deepSkyObject } from "@johnmorrisdotca/hoshi-stars/deep-sky";
const shape = deepSkyShape(deepSkyObject("M31")!);
console.log(shape.majorArcmin, shape.minorArcmin, shape.positionAngle, shape.source);190.5 61.7 35 RC3What it prints (run when this page was built)