Skip to content
HALOWERK

Geodata Tools

spatial convex plane clip

Return a supplied convex planar polygon clipped to a three-dimensional plane half-space.

POST https://geo.halowerk.com/v1/spatial-convex-plane-clip

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
polygonarrayYes
normalReferenceYes
offsetnumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "polygon": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/s0"
      },
      "maxItems": 100,
      "minItems": 3
    },
    "normal": {
      "$ref": "#/$defs/s0"
    },
    "offset": {
      "type": "number",
      "minimum": -1e+30,
      "maximum": 1e+30
    }
  },
  "required": [
    "polygon",
    "normal",
    "offset"
  ],
  "additionalProperties": false,
  "$id": "urn:h:w9:G3:input",
  "$defs": {
    "s0": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": -1000000,
        "maximum": 1000000
      },
      "maxItems": 3,
      "minItems": 3
    }
  }
}

Open original schema

Published input example

{
  "polygon": [
    [
      0,
      0,
      0
    ],
    [
      2,
      0,
      0
    ],
    [
      2,
      2,
      0
    ],
    [
      0,
      2,
      0
    ]
  ],
  "normal": [
    1,
    0,
    0
  ],
  "offset": 1
}

Result & documentation

Machine-readable documentation of this hub

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

More endpoints in this hub

All endpoints in this hub โ†’