Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

cms / cms minimum convex triangulation cost

An agent that exports a convex polygon mesh needs its claimed minimum total squared internal-diagonal cost checked across every triangulation of the complete supplied boundary.

POST https://detect.halowerk.com/v1/cms/cms-minimum-convex-triangulation-cost

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "vertices": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "x": {
                "type": "integer",
                "minimum": -1000,
                "maximum": 1000
              },
              "y": {
                "type": "integer",
                "minimum": -1000,
                "maximum": 1000
              }
            },
            "required": [
              "x",
              "y"
            ],
            "additionalProperties": false
          },
          "minItems": 3,
          "maxItems": 32
        },
        "claimed_cost": {
          "type": "integer",
          "minimum": 0,
          "maximum": 300000000
        }
      },
      "required": [
        "vertices",
        "claimed_cost"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "vertices": [
      {
        "x": 80,
        "y": 0
      },
      {
        "x": 50,
        "y": 63
      },
      {
        "x": -18,
        "y": 78
      },
      {
        "x": -72,
        "y": 35
      },
      {
        "x": -72,
        "y": -35
      },
      {
        "x": -18,
        "y": -78
      },
      {
        "x": 50,
        "y": -63
      }
    ],
    "claimed_cost": 71370
  }
}

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 →