Struct WindingNumber
pub struct WindingNumber {
pub value: f64,
pub skipped_singular_triangles: usize,
}Expand description
Raw winding accumulation for one query point.
Fields§
§value: f64Sum of oriented triangle solid angles divided by 4π.
skipped_singular_triangles: usizeFaces ignored because the query point was within the supplied linear tolerance of one of their vertices, where their solid angle is undefined.
Trait Implementations§
§impl Clone for WindingNumber
impl Clone for WindingNumber
§fn clone(&self) -> WindingNumber
fn clone(&self) -> WindingNumber
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for WindingNumber
impl Debug for WindingNumber
§impl PartialEq for WindingNumber
impl PartialEq for WindingNumber
impl Copy for WindingNumber
impl StructuralPartialEq for WindingNumber
Auto Trait Implementations§
impl Freeze for WindingNumber
impl RefUnwindSafe for WindingNumber
impl Send for WindingNumber
impl Sync for WindingNumber
impl Unpin for WindingNumber
impl UnwindSafe for WindingNumber
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