pub struct Simplex<'f, FS: OrderedRingSignature + FieldSignature> { /* private fields */ }Implementations§
Source§impl<'f, FS: OrderedRingSignature + FieldSignature> Simplex<'f, FS>where
AffineSpace<'f, FS>: Clone,
impl<'f, FS: OrderedRingSignature + FieldSignature> Simplex<'f, FS>where
AffineSpace<'f, FS>: Clone,
pub fn ambient_space(&self) -> AffineSpace<'f, FS>
pub fn n(&self) -> usize
pub fn points(&self) -> &Vec<Vector<'f, FS>>
pub fn into_points(self) -> Vec<Vector<'f, FS>>
pub fn point(&self, i: usize) -> &Vector<'f, FS>
pub fn skeleton(&self, skel_n: isize) -> Vec<Self>
pub fn vertices(&self) -> Vec<Self>
pub fn edges(&self) -> Vec<Self>
pub fn faces(&self) -> Vec<Self>
pub fn ridges(&self) -> Vec<Self>
pub fn facets(&self) -> Vec<Self>
pub fn facet(&self, k: usize) -> Self
pub fn sub_simplices(&self) -> Vec<Self>
pub fn sub_simplices_not_null(&self) -> Vec<Self>
pub fn proper_sub_simplices_not_null(&self) -> Vec<Self>
pub fn sub_simplex(&self, pts: Vec<usize>) -> Self
pub fn oriented_facet(&self, k: usize) -> OrientedSimplex<'f, FS>
pub fn oriented_facets(&self) -> Vec<OrientedSimplex<'f, FS>>
pub fn into_affine_span( self, ) -> (EmbeddedAffineSubspace<'f, FS>, Vec<Vector<'f, FS>>)
Trait Implementations§
Source§impl<'f, FS: Clone + OrderedRingSignature + FieldSignature> Clone for Simplex<'f, FS>
impl<'f, FS: Clone + OrderedRingSignature + FieldSignature> Clone for Simplex<'f, FS>
Source§impl<'f, FS: OrderedRingSignature + FieldSignature> Debug for Simplex<'f, FS>
impl<'f, FS: OrderedRingSignature + FieldSignature> Debug for Simplex<'f, FS>
Source§impl<'f, FS: OrderedRingSignature + FieldSignature> Hash for Simplex<'f, FS>
impl<'f, FS: OrderedRingSignature + FieldSignature> Hash for Simplex<'f, FS>
Source§impl<'f, FS: OrderedRingSignature + FieldSignature> PartialEq for Simplex<'f, FS>
impl<'f, FS: OrderedRingSignature + FieldSignature> PartialEq for Simplex<'f, FS>
impl<'f, FS: OrderedRingSignature + FieldSignature> Eq for Simplex<'f, FS>
Auto Trait Implementations§
impl<'f, FS> Freeze for Simplex<'f, FS>
impl<'f, FS> RefUnwindSafe for Simplex<'f, FS>
impl<'f, FS> Send for Simplex<'f, FS>
impl<'f, FS> Sync for Simplex<'f, FS>
impl<'f, FS> Unpin for Simplex<'f, FS>
impl<'f, FS> UnsafeUnpin for Simplex<'f, FS>
impl<'f, FS> UnwindSafe for Simplex<'f, FS>
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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