check-point-in-rectangle
Checks if point is in rectangle or not. This is based on the concept explained by Martin Thoma
installation
npm install check-point-in-rectangle
usage
var checkPointIn = ;
point array of x and y coordinates
rectangle array of four corner points
precision is used in algorithm to compare the area of rectangle and sum of triangles formed by point with rectangle, default is 6
example
var checkPoint = ;if == true console;``` ## developingOnce you run ```npm isntall``` then for running test ```npm run test``` to create build ```npm run build``` ## licenseThis project is licensed under the terms of the MIT license.