flâneur — a map of the web's best reading

RegionSet | ps2

web.mit.edu · 455 words · saved by 1 readers

Documentation for ps2

RegionSet | ps2 ps2 RegionSet RegionSet Interface RegionSet<L> A mutable set of labeled "regions", where each region is a contiguous set of square cells in a 2D grid with origin at (0,0) and extending to ( gridSize , gridSize ) (for some nonnegative integer gridSize , fixed when the set is created). Coordinates (x,y) are interpreted as points in the 2D plane in the conventional way. A region must be contiguous : any cell in the region must be reachable from any other cell in the region by a path passing through adjacent cells, where we define adjacent cells as sharing an edge (not just a corne

Explore this link on the map →

related reading