Skip to content
HALOWERK

Geodata Tools

spatial triangle triangle segment

Return the intersection endpoints of two supplied noncoplanar three-dimensional triangles.

POST https://geo.halowerk.com/v1/spatial-triangle-triangle-segment

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
aReferenceYes
bReferenceYes
Show full input schema
{
  "type": "object",
  "properties": {
    "a": {
      "$ref": "#/$defs/s0"
    },
    "b": {
      "$ref": "#/$defs/s0"
    }
  },
  "required": [
    "a",
    "b"
  ],
  "additionalProperties": false,
  "$id": "urn:h:w9:G7:input",
  "$defs": {
    "s0": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/s1"
      },
      "maxItems": 3,
      "minItems": 3
    },
    "s1": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": -1000000,
        "maximum": 1000000
      },
      "maxItems": 3,
      "minItems": 3
    }
  }
}

Open original schema

Published input example

{
  "a": [
    [
      0,
      0,
      0
    ],
    [
      2,
      0,
      0
    ],
    [
      0,
      2,
      0
    ]
  ],
  "b": [
    [
      0.5,
      -1,
      -1
    ],
    [
      0.5,
      2,
      -1
    ],
    [
      0.5,
      0.5,
      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 โ†’