Struct rgeometry::data::TriangleView [−][src]
pub struct TriangleView<'a, T>(_);
Implementations
pub fn signed_area<F>(&self) -> F where
T: PolygonScalar + Into<F>,
F: NumOps<F, F> + FromPrimitive + Clone,
pub fn signed_area_2x<F>(&self) -> F where
T: PolygonScalar + Into<F>,
F: NumOps<F, F> + Clone,
pub fn rejection_sampling<R: ?Sized>(&self, rng: &mut R) -> Point<T, 2> where
R: Rng,
T: SampleUniform,
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for TriangleView<'a, T> where
T: RefUnwindSafe,
impl<'a, T> Send for TriangleView<'a, T> where
T: Sync,
impl<'a, T> Sync for TriangleView<'a, T> where
T: Sync,
impl<'a, T> Unpin for TriangleView<'a, T>
impl<'a, T> UnwindSafe for TriangleView<'a, T> where
T: RefUnwindSafe,