pub struct Normals<'a> { /* private fields */ }
Expand description
Normals.
Implementations
sourceimpl<'a> Normals<'a>
impl<'a> Normals<'a>
sourcepub fn normal(
&self,
tris: &TriangleVertices<'a>,
tri_vi: TriangleVertexIndex
) -> Result<Vector3<f64>, Error>
pub fn normal(
&self,
tris: &TriangleVertices<'a>,
tri_vi: TriangleVertexIndex
) -> Result<Vector3<f64>, Error>
Returns [f64; 3]
normal corresponding to the given triangle vertex
index.
Trait Implementations
impl<'a> Copy for Normals<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Normals<'a>
impl<'a> Send for Normals<'a>
impl<'a> Sync for Normals<'a>
impl<'a> Unpin for Normals<'a>
impl<'a> UnwindSafe for Normals<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more