Skip to content
HALOWERK

Kartenwerk

grid line cell supercover

Return every closed unit grid cell intersected by a supplied line segment, including boundary contacts.

POST https://karte.halowerk.com/v1/grid-line-cell-supercover

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
rowsintegerYes
columnsintegerYes
startobjectYes
endobjectYes
Show full input schema
{
  "type": "object",
  "properties": {
    "rows": {
      "type": "integer",
      "minimum": 1,
      "maximum": 32
    },
    "columns": {
      "type": "integer",
      "minimum": 1,
      "maximum": 32
    },
    "start": {
      "type": "object",
      "properties": {
        "x": {
          "type": "number",
          "minimum": 0,
          "maximum": 32
        },
        "y": {
          "type": "number",
          "minimum": 0,
          "maximum": 32
        }
      },
      "required": [
        "x",
        "y"
      ],
      "additionalProperties": false
    },
    "end": {
      "type": "object",
      "properties": {
        "x": {
          "type": "number",
          "minimum": 0,
          "maximum": 32
        },
        "y": {
          "type": "number",
          "minimum": 0,
          "maximum": 32
        }
      },
      "required": [
        "x",
        "y"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "rows",
    "columns",
    "start",
    "end"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "rows": 1,
  "columns": 3,
  "start": {
    "x": 0.2,
    "y": 0.5
  },
  "end": {
    "x": 2.8,
    "y": 0.5
  }
}

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 โ†’