Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

cms / cms overlapping rectangle union

An agent that reconciles covered areas of overlapping axis-aligned panels needs its claimed union area and boundary length checked without double counting intersections.

POST https://detect.halowerk.com/v1/cms/cms-overlapping-rectangle-union

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "rectangles": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "x0": {
                "type": "integer",
                "minimum": -1000000,
                "maximum": 1000000
              },
              "y0": {
                "type": "integer",
                "minimum": -1000000,
                "maximum": 1000000
              },
              "x1": {
                "type": "integer",
                "minimum": -1000000,
                "maximum": 1000000
              },
              "y1": {
                "type": "integer",
                "minimum": -1000000,
                "maximum": 1000000
              }
            },
            "required": [
              "x0",
              "y0",
              "x1",
              "y1"
            ],
            "additionalProperties": false
          },
          "minItems": 0,
          "maxItems": 128
        },
        "claimed_area": {
          "type": "integer",
          "minimum": 0,
          "maximum": 4000000000000
        },
        "claimed_perimeter": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1024000000
        }
      },
      "required": [
        "rectangles",
        "claimed_area",
        "claimed_perimeter"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "rectangles": [
      {
        "x0": 1,
        "y0": 4,
        "x1": 6,
        "y1": 8
      }
    ],
    "claimed_area": 20,
    "claimed_perimeter": 18
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →