{"_id":"affine-hull","_rev":"4-a41296296e901677a0a9fb8931526271","name":"affine-hull","description":"Finds the affine hull of a point set","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"affine-hull","version":"1.0.0","description":"Finds the affine hull of a point set","main":"aff.js","directories":{"test":"test"},"dependencies":{"robust-orientation":"^1.1.3"},"devDependencies":{"tape":"^3.0.3"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"https://github.com/mikolalysenko/affine-hull.git"},"keywords":["affine","hull","geometry"],"author":{"name":"Mikola Lysenko"},"license":"MIT","bugs":{"url":"https://github.com/mikolalysenko/affine-hull/issues"},"homepage":"https://github.com/mikolalysenko/affine-hull","gitHead":"ffe6252826fba63cc68828d3d6151cd7df44bb29","_id":"affine-hull@1.0.0","_shasum":"763ff1d38d063ceb7e272f17ee4d7bbcaf905c5d","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.26","_npmUser":{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},"maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}],"dist":{"shasum":"763ff1d38d063ceb7e272f17ee4d7bbcaf905c5d","tarball":"https://registry.npmjs.org/affine-hull/-/affine-hull-1.0.0.tgz","integrity":"sha512-3QNG6+vFAwJvSZHsJYDJ/mt1Cxx9n5ffA+1Ohmj7udw0JuRgUVIXK0P9N9pCMuEdS3jCNt8GFX5q2fChq+GO3Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGi1Du7zKQ3JhQASijMt1oMNAhJHec3ZiNR3QwOmwDQTAiEAyEskWOqdOqukZMl+alWRtpiEHL+ysHN58TQPPPyVvC4="}]}}},"readme":"affine-hull\n===========\nComputes the lexicographically smallest basis for the affine hull of a point set.\n\n# Example\n\n```javascript\nvar aff = require('affine-hull')\n\nconsole.log(aff([\n  [0, 0, 0],\n  [1, 0, 0],\n  [2, 0, 0],\n  [3, 0, 0],\n  [0, 1, 0],\n  [0, 0, 2]\n]))\n```\n\nOutput:\n\n```javascript\n[0, 1, 4, 5]\n```\n\n# Install\n\n```\nnpm install affine-hull\n```\n\n# API\n\n#### `require('affine-hull')(points)`\nComputes a basis for the affine hull of the set of points `points`.\n\n* `points` is a list of points encoded by d-tuples of numbers\n\n**Returns** A list of indices for the generators of the affine hull of the point set\n\n# Credits\n(c) 2014 Mikola Lysenko. MIT License","maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}],"time":{"modified":"2022-06-13T02:29:01.072Z","created":"2014-11-22T03:41:11.471Z","1.0.0":"2014-11-22T03:41:11.471Z"},"homepage":"https://github.com/mikolalysenko/affine-hull","keywords":["affine","hull","geometry"],"repository":{"type":"git","url":"https://github.com/mikolalysenko/affine-hull.git"},"author":{"name":"Mikola Lysenko"},"bugs":{"url":"https://github.com/mikolalysenko/affine-hull/issues"},"license":"MIT","readmeFilename":"README.md"}