bit_get
Return the bit at position pos of the number n (in binary).
Return the bit at position pos of the number n (in binary).
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,...].