-
-
Couldn't load subscription status.
- Fork 683
Description
We define APIs for static and dynamic containers storing finite families of geometric objects, extending Container, Set, MutableSet, Mapping, MutableMapping https://docs.python.org/3/library/collections.abc.html
The family must define a collection of "measurement maps" B_i, each sending an object to an InternalRealInterval.
The product of these intervals can be thought of as a "generalized bounding box".
Ideally the maps would be inclusion-preserving.
The implementation is provided by rtree/libspatialindex (#32000).
The Sage-specific class will take care of:
- replacing an
InternalRealIntervalby a rescaling or inclusion-preserving overestimation, making the coordinates suitable for the underlying library. - providing accelerated set operations such as:
- a fast path for computing empty
intersectionwhen the result will be empty, - a fast path for
__contains__when the result will beFalse.
- a fast path for computing empty
Geometric lookup operations to be supported:
- ...
Applications:
RationalPolyhedralFanPolyhedralComplex(PolyhedralComplex #31748)- Families/posets of (open) subsets of manifolds (Meta-ticket: Families, posets, complexes of manifold subsets #31740): A natural choice of the maps
B_icomes from the coordinates of covering charts, using(-oo, oo)for coordinates for which no coordinate definition for the subset is known
Depends on #34277
CC: @DRKWang
Component: geometry
Work Issues: Rebase on #34277
Author: Binshuai Wang
Branch/Commit: public/32170 @ 05ea99d
Issue created by migration from https://trac.sagemath.org/ticket/32170