# Exact integer rectangle set algebra

Build-time release reference. Runtime readiness, deployment, payment settlement and external indexing are not evaluated here. Prices are proposed; this file cannot authorize execution or payment.

Compose union, intersection, A-minus-B difference or XOR of declared axis-aligned half-open integer rectangles into deterministic x-first disjoint rectangles, exact integer area and bounds.

Release: 0.29.0. Built: 2026-10-06T15:38:00Z.

## Choose for
- Exact set algebra over caller-supplied Cartesian integer regions
- Generating disjoint drawing or selection data from axis-aligned half-open rectangles
- Computing exact coordinate-squared area beyond JavaScript safe integers

## Outside this profile
- Rotated shapes, arbitrary polygons, geographic or geodesic area, CRS or units conversion
- Image modification, masking, redaction or identifying actual objects
- Click safety, collision physics, optimal packing or minimum-rectangle decomposition
- Fetching sources, writing files, model calls, target execution or changing external state

Proposed nominal USD 0.006 per successful call; payer fees excluded. No verified runtime availability.

- [Exact release contract](/reference/services/rectangle-set-compose.json)
- [Input schema](/reference/schemas/rectangle-set-compose.input.json)
- [Output schema](/reference/schemas/rectangle-set-compose.output.json)
- [Fixed example](/reference/examples/rectangle-set-compose.json)
- [Complete HTML reference](/discover/tools/rectangle-set-compose)
