refcheck SciMax Toolbox rem

SciMax Toolbox >> region_boundaries

region_boundaries

Maxima Function

Calling Sequence

region_boundaries (x1,y1,x2,y2)

Description

Detects polygonal segments of global variable boundaries_array contained in the rectangle with vertices (x1,y1) -upper left- and (x2,y2) -bottom right-.

Example:

Returns segment numbers for plotting southern Italy.

(%i1) load(draw)$
(%i2) load(worldmap)$
(%i3) region_boundaries(10.4,41.5,20.7,35.4);
(%o3)                [1846, 1863, 1864, 1881, 1888, 1894]
(%i4) draw2d(geomap(%))$
refcheck SciMax Toolbox rem