pyflightstream.cases.field_coverage (stable)¶
Generated from the docstrings at build time: every one of the 3 names in the __all__ of pyflightstream.cases.field_coverage has an entry below. The names a guide or an example uses come first; the others follow under Advanced.
Conservative spatial bounds; containment does not prove interpolation support.
Advanced¶
pyflightstream.cases.field_coverage.operated_corners
¶
operated_corners(
points_m: Iterable[Sequence[float]],
operations: Sequence[Mapping[str, Any]],
) -> tuple[list[Point], list[str]]
Return the corners of the body's bounding box after the emitted surface operations.
The bounding box is conservative (it may exceed the body) and a partial selection unions the moved and the unmoved body. The points are in metres.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
points_m
|
iterable of sequence of float
|
The body's points before any operation, (x, y, z) in metres. |
required |
operations
|
sequence of mapping
|
The emitted surface transforms, in order, as :func: |
required |
Returns:
| Type | Description |
|---|---|
tuple of (list of tuple, list of str)
|
The corners of the bounding box after the operations, and the notes that say what the envelope is. |
Raises:
| Type | Description |
|---|---|
CampaignConfigError
|
If an operation is not one the rule knows, has no frame or a rotation is not finite. |
pyflightstream.cases.field_coverage.spatial_envelope
¶
spatial_envelope(
points_m: Iterable[Sequence[float]],
operations: Sequence[Mapping[str, Any]],
motions: Sequence[Mapping[str, Any]],
) -> tuple[tuple[float, float, float, float], list[str]]
Return YZ bounds in metres, conservatively including unresolved subsets.
An AABB may exceed the actual shape. Partial-boundary operations union the original and transformed envelope because no face-association is assumed. Rotation includes both angular signs; a full rotor sweep is independent of direction and STEP convention. Unknown transformations yield no claim.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
points_m
|
iterable of sequence of float
|
The body's points before any operation, (x, y, z) in metres. |
required |
operations
|
sequence of mapping
|
The emitted surface transforms, in order, each with its |
required |
motions
|
sequence of mapping
|
The moving-frame records, each with its |
required |
Returns:
| Type | Description |
|---|---|
tuple of (tuple of float, list of str)
|
The bounds (y min, y max, z min, z max) in metres, and the notes that qualify them. |
Raises:
| Type | Description |
|---|---|
CampaignConfigError
|
If a transform is not one the rule knows, has no frame, a rotation is not finite, or a moving frame's trajectory is unknown, has no proved rule or moves its centre, or a constant-rotation record carries no motion index. |