pub struct FootprintUnion { /* private fields */ }Expand description
Hole-aware union of captured footprints on one persisted gnomonic plane.
Implementations§
Source§impl FootprintUnion
impl FootprintUnion
Sourcepub fn new(footprints: &[SkyFootprint]) -> Result<Self>
pub fn new(footprints: &[SkyFootprint]) -> Result<Self>
Build a union while preserving disconnected components and interior holes.
Input order does not affect the anchor, component ordering, or panel evidence ordering. Provenance identities must be unique.
§Errors
Returns a typed empty-set, duplicate-provenance, epoch, antipodal, projection, or invalid-geometry error.
Sourcepub fn anchor(&self) -> Equatorial
pub fn anchor(&self) -> Equatorial
Persisted common-plane anchor used by all union operations.
Sourcepub fn component_count(&self) -> usize
pub fn component_count(&self) -> usize
Number of disconnected captured components.
Sourcepub fn hole_count(&self) -> usize
pub fn hole_count(&self) -> usize
Total number of interior holes across all components.
Sourcepub fn contains_point(
&self,
point: Equatorial,
) -> Result<PointContainmentEvidence>
pub fn contains_point( &self, point: Equatorial, ) -> Result<PointContainmentEvidence>
Measure inclusive-boundary point containment with component/panel evidence.
Sourcepub fn measure_object(
&self,
object: ObjectShape<'_>,
) -> Result<ObjectCoverageEvidence>
pub fn measure_object( &self, object: ObjectShape<'_>, ) -> Result<ObjectCoverageEvidence>
Measure point, footprint, or ellipse coverage against the captured union.
Trait Implementations§
Source§impl Clone for FootprintUnion
impl Clone for FootprintUnion
Source§fn clone(&self) -> FootprintUnion
fn clone(&self) -> FootprintUnion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FootprintUnion
impl RefUnwindSafe for FootprintUnion
impl Send for FootprintUnion
impl Sync for FootprintUnion
impl Unpin for FootprintUnion
impl UnsafeUnpin for FootprintUnion
impl UnwindSafe for FootprintUnion
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more