if points0 is empty checkVector(2) return -1, it causes the exception
Attach a file by drag & drop or click to upload