This is just a little coding experiment; what it does is determines the points that are the furthest right, left, top, and bottom and determines if the center of the rectangle generated by those points is within the triangle. - Why don't you try it out for yourself? - Drag around the black dots to change the shape of the triangle. - The red dot is the center of the rectangle. - Look to see if the dot is always within the blue triangle!