get_angle
Return the angle between 2 points in radians
Return the angle between 2 points in radians
Return the area of a polygon given as a list of points [x0,y0,x1,y1,...].
Returns the bounding box (top-left and bottom-right) from a list of points.
Return the centroid of a polygon given as a list of points [x0,y0,x1,y1,...].
Return greatest distance between two points of the polygon
Return the distance between 2 points
Return the point of a polygon farthest from a given reference point [cx,cy].
Return the point of a polygon closest to a given reference point [cx,cy].
Return the perimeter of a polygon given as a list of points [x0,y0,x1,y1,...].
Returns the centroid of the triangle (intersection of medians), and the coordinates of the 3 feet of the medians (midpoints of sides), in flat list