Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Rectangle
SourceThis module provides the basic operations over rectangles
make p w h, returns a rectangle where p is the bottom-left corner of the rectangle, w its width and h its height
of_diagonal p1 p2, builds the rectangle where p1p2 is its diagonal (the bounding rectangle of the two points)
returns the intersection points of a rectangle and a line. returns if they don't intersect.
returns a list of length 4 containing the segments of the rectangle
given a rectangle and point, returns the smallest rectangle that contains the point and the rectangle given as parameters
given a list of point, returns the smallest rectangle that contains all the points of the list
returns a randomly and uniformly chosen point of the rectangle
printer