Convex Hull
Endpoint: https://studiobitonti.appspot.com/convexHull
The convex hull function creates a boundary around the outermost laying points. It is used to get a sense of size of the point cloud field.
Input:
Points: Input the list list of 2d , 3d or high-dimensional points locations to be calculated..
They should be in a .json format. The Structure would be as follows:
For 2D points:
"points":[[x1,y1],[x2,y2],[x3,y3],...]
For 3D Points:
"points":[[x1,y1,z1],[x2,y2,z2],[x3,y3,z3],...]
T: [YOUR SECRET TOKEN]
Output:
The result is a string output of points. It is as follows:
{"convexHull":[[u1,v1,w1],[u2,v2,w2],[u3,v3,w3].....]}
Example:
request input: { "points":[[-28.918442,8.70964,1.0],[-43.438754,-2.261607,0.0],[-42.419287,10.503024,2.0],[-33.557706,-1.216382,5.0],[-36.607761,6.483151,0.0],[-44.044205,4.3235,0.0]] } Full request URL: https://studiobitonti.appspot.com/convexHull?t=[YOUR SECRET TOKEN] Response: {"convexHull":[[2,3,0],[1,3,0],[1,2,5],[1,2,3],[4,1,5],[4,1,0],[4,2,5],[4,2,0]]}