ddg.geometry.intersection module
- ddg.geometry.intersection.intersect(*objects, resolve=True)[source]
Intersection function
- Parameters:
- *objectsAny
Objects to intersect
- resolvebool, default=False
Whether or not the intersection should be resolved immediately
- Returns:
- ddg.geometry.intersection.Intersection or resolved Intersection
Instance of Intersection containing obj1 and obj2 or the intersection of the class obtained by resolving the intersection
See also
- ddg.geometry.intersection.join(*objects, resolve=True)[source]
Join function
- Parameters:
- *objectsAny
Objects to join
- resolvebool, default=False
Whether or not the join should be resolved immediately
- Returns:
- ddg.geometry.intersection.Join or resolved Intersection
Instance of Join containing obj1 and obj2 or the join of the class obtained by resolving the join
See also
- class ddg.geometry.intersection.Intersection(*obj)[source]
Bases:
Iterable,NonExactBase class for Intersections.
- Parameters:
- *objobject
Intersecting objects
See also
- Attributes:
- objectslist
List of intersecting objects.
- typesset
Set of types of intersecting objects.
Methods
resolve
Resolve the intersection.
- property types
- property atol
- property rtol
- classmethod nonexact_function(f)
Decorator to use global tolerance defaults in functions.
If None is given to the wrapped function as the value for
atolorrtol, it will be replaced by the global default.
- classmethod reset_tol_defaults()