pub struct CoverageGeometry { /* private fields */ }Expand description
Exact coordinate binding for every state of a finite coverage problem.
Implementations§
Source§impl CoverageGeometry
impl CoverageGeometry
Sourcepub fn new(
specification: &CoverageSpecification,
coordinates: Vec<Vec<PlanarPoint>>,
limits: CoverageGeometryLimits,
) -> Result<Self>
pub fn new( specification: &CoverageSpecification, coordinates: Vec<Vec<PlanarPoint>>, limits: CoverageGeometryLimits, ) -> Result<Self>
Bind one coordinate vector to each canonical finite state.
The specification source must be CoverageSource::Finite.
Sourcepub fn coordinates(&self) -> &[Vec<PlanarPoint>]
pub fn coordinates(&self) -> &[Vec<PlanarPoint>]
State coordinates in specification order.
Sourcepub fn verify(
&self,
specification: &CoverageSpecification,
limits: CoverageGeometryLimits,
) -> Result<()>
pub fn verify( &self, specification: &CoverageSpecification, limits: CoverageGeometryLimits, ) -> Result<()>
Recheck polygon geometry and every exact Euclidean radius graph.
Trait Implementations§
Source§impl Clone for CoverageGeometry
impl Clone for CoverageGeometry
Source§fn clone(&self) -> CoverageGeometry
fn clone(&self) -> CoverageGeometry
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 moreSource§impl Debug for CoverageGeometry
impl Debug for CoverageGeometry
Source§impl PartialEq for CoverageGeometry
impl PartialEq for CoverageGeometry
impl StructuralPartialEq for CoverageGeometry
Auto Trait Implementations§
impl Freeze for CoverageGeometry
impl RefUnwindSafe for CoverageGeometry
impl Send for CoverageGeometry
impl Sync for CoverageGeometry
impl Unpin for CoverageGeometry
impl UnsafeUnpin for CoverageGeometry
impl UnwindSafe for CoverageGeometry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more