Convex algorithm
process
inPointArray
Process given node array
Each item should be a object, which include x&y attribute