Skip to content
Fourohtwo

detect.halowerk.com/v1/F-TD2000-GEO-INDUSTRY-B006/integer-planar-delaunay-comple

Returns a JSON finding that constructs exact Delaunay connectivity for a bounded planar point cloud.

BaseAnswering
POSThttps://detect.halowerk.com/v1/F-TD2000-GEO-INDUSTRY-B006/integer-planar-delaunay-complete-empty-circle-triangulation

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://detect.halowerk.com/v1/F-TD2000-GEO-INDUSTRY-B006/integer-planar-delaunay-complete-empty-circle-triangulation", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"artifact":{"delaunay":{"claim":{"boundary_edges":[[0,1],[0,6],[1,5],[2,3],[2,6],[3,5]],"ccw_triangles":[[1,4,1],[0,6,7],[0,7,4],[1,4,5],[2,3,4],[2,4,7],[2,7,6],[3,5,4]],"edges":[[0,1],[0,4],[0,6],[0,7],[1,4],[1,5],[2,3],[2,4],[2,6],[2,7],[3,4],[3,5],[4,5],[4,7],[6,7]]},"data":{"points":[[-13,3],[1,16],[-22,-20],[8,-11],[1,-10],[16,13],[-21,-14],[-17,-12]]}}}}),
});
console.log(await res.json());

Example input

{
  "artifact": {
    "delaunay": {
      "claim": {
        "boundary_edges": [
          [
            0,
            1
          ],
          [
            0,
            6
          ],
          [
            1,
            5
          ],
          [
            2,
            3
          ],
          [
            2,
            6
          ],
          [
            3,
            5
          ]
        ],
        "ccw_triangles": [
          [
            1,
            4,
            1
          ],
          [
            0,
            6,
            7
          ],
          [
            0,
            7,
            4
          ],
          [
            1,
            4,
            5
          ],
          [
            2,
            3,
            4
          ],
          [
            2,
            4,
            7
          ],
          [
            2,
            7,
            6
          ],
          [
            3,
            5,
            4
          ]
        ],
        "edges": [
          [
            0,
            1
          ],
          [
            0,
            4
          ],
          [
            0,
            6
          ],
          [
            0,
            7
          ],
          [
            1,
            4
          ],
          [
            1,
            5
          ],
          [
            2,
            3
          ],
          [
            2,
            4
          ],
          [
            2,
            6
          ],
          [
            2,
            7
          ],
          [
            3,
            4
          ],
          [
            3,
            5
          ],
          [
            4,
            5
          ],
          [
            4,
            7
          ],
          [
            6,
            7
          ]
        ]
      },
      "data": {
        "points": [
          [
            -13,
            3
          ],
          [
            1,
            16
          ],
          [
            -22,
            -20
          ],
          [
            8,
            -11
          ],
          [
            1,
            -10
          ],
          [
            16,
            13
          ],
          [
            -21,
            -14
          ],
          [
            -17,
            -12
          ]
        ]
      }
    }
  }
}