Single Batch Convex Hull

Convex hull algorithm

Algorithmia Platform License

Run an Example

{
  "points": [
    {
      "position": [
        2,
        4
      ]
    },
    {
      "position": [
        10,
        3
      ]
    },
    {
      "position": [
        12,
        4
      ]
    },
    {
      "position": [
        10,
        8
      ]
    },
    {
      "position": [
        8,
        10
      ]
    },
    {
      "position": [
        4,
        8
      ]
    }
  ]
}

Install & Use

Use

curl -X POST -d '{
	"points": [
	  {"position": [2, 4]},
	  {"position": [8, 6]},
	  {"position": [6, 9]},
	  {"position": [4, 5]},
	  {"position": [10, 3]},
	  {"position": [6, 6]},
	  {"position": [10, 8]},
	  {"position": [12, 4]},
	  {"position": [11, 6]},
	  {"position": [4, 8]},
	  {"position": [8, 10]},
	  {"position": [12, 4]}
  ]
}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/vagrant/SingleBatchConvexHull/0.1.0