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§
Source§impl Clone for WindingNumber
impl Clone for WindingNumber
Source§fn clone(&self) -> WindingNumber
fn clone(&self) -> WindingNumber
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 moreimpl Copy for WindingNumber
Source§impl Debug for WindingNumber
impl Debug for WindingNumber
Source§impl PartialEq for WindingNumber
impl PartialEq 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 UnsafeUnpin 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