Reference · How big a Messier object is on the sky and which way it lies, and its outline
measuredPartsfunction
Which parts of an object's drawn shape are measured: the size, the axis ratio and the angle. An object whose axis ratio or angle is not measured is drawn round, so oval says whether the
drawing is the measured ellipse.
Import it
import { measuredParts } from "@johnmorrisdotca/hoshi-stars/deep-sky/shape";
Also exported from: @johnmorrisdotca/hoshi-stars/deep-sky/ngc-ic-shape
Definition
function measuredParts(shape: DeepSkyShape): { size: boolean; ratio: boolean; angle: boolean; oval: boolean; }
Parameters
| Name | Type | Description |
|---|---|---|
shape | DeepSkyShape | The shape from |
Returns
{ size: boolean; ratio: boolean; angle: boolean; oval: boolean; }
size, ratio and angle as true where measured, and oval as true where both of the last two are.
Examples
import { deepSkyObject } from "@johnmorrisdotca/hoshi-stars/deep-sky";
import { deepSkyShape, measuredParts } from "@johnmorrisdotca/hoshi-stars/deep-sky/shape";
console.log(measuredParts(deepSkyShape(deepSkyObject("M42")!)));{ size: true, ratio: false, angle: false, oval: false }What it prints (run when this page was built)