Returns a triangle from an array of three points