Skip to content
HALOWERK

Spacewerk

orbit eclipse cylinder intervals

Return cylindrical Earth-shadow intervals along a supplied piecewise-linear position trace.

POST https://space.halowerk.com/v1/orbit-eclipse-cylinder-intervals

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
times_sarrayYes
positions_kmarrayYes
sun_directionReferenceYes
earth_radius_kmnumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "times_s": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": 0,
        "maximum": 1000000000
      },
      "maxItems": 100,
      "minItems": 2
    },
    "positions_km": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/s0"
      },
      "maxItems": 100,
      "minItems": 2
    },
    "sun_direction": {
      "$ref": "#/$defs/s0"
    },
    "earth_radius_km": {
      "type": "number",
      "minimum": 1e-06,
      "maximum": 1000000000000000
    }
  },
  "required": [
    "times_s",
    "positions_km",
    "sun_direction",
    "earth_radius_km"
  ],
  "additionalProperties": false,
  "$id": "urn:h:w3:I2:input",
  "$defs": {
    "s0": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/s1"
      },
      "maxItems": 3,
      "minItems": 3
    },
    "s1": {
      "type": "number",
      "minimum": -1000000000000,
      "maximum": 1000000000000
    }
  }
}

Open original schema

Published input example

{
  "times_s": [
    0,
    60
  ],
  "positions_km": [
    [
      -7000,
      0,
      0
    ],
    [
      -7000,
      0,
      0
    ]
  ],
  "sun_direction": [
    1,
    0,
    0
  ],
  "earth_radius_km": 6371
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub →