pub enum Verification {
Interior,
OnGeometry,
OffGeometry,
Unverifiable,
}Expand description
Where a computed interior point sits relative to its geometry.
Interior and OnGeometry are both passes and are not the same fact:
an areal point that lands exactly on the boundary is what
InteriorPoint’s own contract falls back to when an exact interior point
cannot be calculated. Unverifiable is the absence of an answer rather than
a failed one, which is why the command line treats OffGeometry alone as a
failure.
Variants§
Interior
The point lies in the interior of an areal geometry.
OnGeometry
The point lies on the boundary of an areal geometry, or equals a coordinate of a dimension 0 or 1 geometry.
OffGeometry
The point lies outside the geometry.
Unverifiable
No point, no geometry, or a geometry whose every element is empty.
Trait Implementations§
Source§impl Clone for Verification
impl Clone for Verification
Source§fn clone(&self) -> Verification
fn clone(&self) -> Verification
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for Verification
Source§impl Debug for Verification
impl Debug for Verification
Source§impl Display for Verification
The four spellings are what reach a caller’s output, so they are fixed here
rather than derived from the variant names: the TypeScript port prints the
same four strings, and the two command lines are held to byte-for-byte
agreement.
impl Display for Verification
The four spellings are what reach a caller’s output, so they are fixed here rather than derived from the variant names: the TypeScript port prints the same four strings, and the two command lines are held to byte-for-byte agreement.