Skip to content
Fourohtwo

datenvertrag.halowerk.com/v1/exact-minimum-width-strip-audit

For1..16 supplied planar integer points with coordinates between-100 and100, returns reduced exact minimum squared distance between enclosing parallel lines, every optimal canonical primitive normal and both support lines with every original supportpoint index. One unique point location has zero width in all directions, represented explicitly. Collinear distinctpoints have one zero-width direction

BaseAnswering
POSThttps://datenvertrag.halowerk.com/v1/exact-minimum-width-strip-audit

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://datenvertrag.halowerk.com/v1/exact-minimum-width-strip-audit", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"claimed":{"all_directions":false,"minimum_width_squared":{"denominator":25,"numerator":144},"normals":[{"nx":4,"ny":3}]},"points":[{"x":0,"y":0},{"x":3,"y":0},{"x":0,"y":4}]}),
});
console.log(await res.json());

Example input

{
  "claimed": {
    "all_directions": false,
    "minimum_width_squared": {
      "denominator": 25,
      "numerator": 144
    },
    "normals": [
      {
        "nx": 4,
        "ny": 3
      }
    ]
  },
  "points": [
    {
      "x": 0,
      "y": 0
    },
    {
      "x": 3,
      "y": 0
    },
    {
      "x": 0,
      "y": 4
    }
  ]
}