pub struct EmbeddedAffineSubspace<FS: OrderedRingSignature + FieldSignature, SP: Borrow<AffineSpace<FS>> + Clone, ESP: Borrow<AffineSpace<FS>> + Clone> { /* private fields */ }
Implementations§
Source§impl<FS: OrderedRingSignature + FieldSignature, SP: Borrow<AffineSpace<FS>> + Clone, ESP: Borrow<AffineSpace<FS>> + From<AffineSpace<FS>> + Clone> EmbeddedAffineSubspace<FS, SP, ESP>
impl<FS: OrderedRingSignature + FieldSignature, SP: Borrow<AffineSpace<FS>> + Clone, ESP: Borrow<AffineSpace<FS>> + From<AffineSpace<FS>> + Clone> EmbeddedAffineSubspace<FS, SP, ESP>
Source§impl<FS: OrderedRingSignature + FieldSignature, SP: Borrow<AffineSpace<FS>> + Clone> EmbeddedAffineSubspace<FS, SP, AffineSpace<FS>>
impl<FS: OrderedRingSignature + FieldSignature, SP: Borrow<AffineSpace<FS>> + Clone> EmbeddedAffineSubspace<FS, SP, AffineSpace<FS>>
Source§impl<FS: OrderedRingSignature + FieldSignature, SP: Borrow<AffineSpace<FS>> + Clone, ESP: Borrow<AffineSpace<FS>> + Clone> EmbeddedAffineSubspace<FS, SP, ESP>
impl<FS: OrderedRingSignature + FieldSignature, SP: Borrow<AffineSpace<FS>> + Clone, ESP: Borrow<AffineSpace<FS>> + Clone> EmbeddedAffineSubspace<FS, SP, ESP>
pub fn ordered_field(&self) -> &FS
pub fn ambient_space(&self) -> SP
pub fn embedded_space(&self) -> ESP
pub fn extend_dimension_by_point_unsafe( &self, pt: Vector<FS, SP>, ) -> (EmbeddedAffineSubspace<FS, AffineSpace<FS>, ESP>, EmbeddedAffineSubspace<FS, SP, AffineSpace<FS>>, Vector<FS, AffineSpace<FS>>)
pub fn get_root_and_span(&self) -> Option<(Vector<FS, SP>, Vec<Vector<FS, SP>>)>
pub fn get_embedding_points(&self) -> &Vec<Vector<FS, SP>>
pub fn embed_point(&self, pt: &Vector<FS, ESP>) -> Vector<FS, SP>
pub fn embed_simplex(&self, spx: &Simplex<FS, ESP>) -> Simplex<FS, SP>
pub fn unembed_point(&self, pt: &Vector<FS, SP>) -> Option<Vector<FS, ESP>>
pub fn unembed_simplex(&self, spx: &Simplex<FS, SP>) -> Option<Simplex<FS, ESP>>
pub fn as_hyperplane_intersection( &self, ) -> Option<Vec<OrientedHyperplane<FS, SP>>>
Trait Implementations§
Source§impl<FS: Clone + OrderedRingSignature + FieldSignature, SP: Clone + Borrow<AffineSpace<FS>> + Clone, ESP: Clone + Borrow<AffineSpace<FS>> + Clone> Clone for EmbeddedAffineSubspace<FS, SP, ESP>
impl<FS: Clone + OrderedRingSignature + FieldSignature, SP: Clone + Borrow<AffineSpace<FS>> + Clone, ESP: Clone + Borrow<AffineSpace<FS>> + Clone> Clone for EmbeddedAffineSubspace<FS, SP, ESP>
Source§fn clone(&self) -> EmbeddedAffineSubspace<FS, SP, ESP>
fn clone(&self) -> EmbeddedAffineSubspace<FS, SP, ESP>
Returns a duplicate 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 moreSource§impl<FS: Debug + OrderedRingSignature + FieldSignature, SP: Debug + Borrow<AffineSpace<FS>> + Clone, ESP: Debug + Borrow<AffineSpace<FS>> + Clone> Debug for EmbeddedAffineSubspace<FS, SP, ESP>
impl<FS: Debug + OrderedRingSignature + FieldSignature, SP: Debug + Borrow<AffineSpace<FS>> + Clone, ESP: Debug + Borrow<AffineSpace<FS>> + Clone> Debug for EmbeddedAffineSubspace<FS, SP, ESP>
Auto Trait Implementations§
impl<FS, SP, ESP> Freeze for EmbeddedAffineSubspace<FS, SP, ESP>
impl<FS, SP, ESP> RefUnwindSafe for EmbeddedAffineSubspace<FS, SP, ESP>
impl<FS, SP, ESP> Send for EmbeddedAffineSubspace<FS, SP, ESP>
impl<FS, SP, ESP> Sync for EmbeddedAffineSubspace<FS, SP, ESP>
impl<FS, SP, ESP> Unpin for EmbeddedAffineSubspace<FS, SP, ESP>
impl<FS, SP, ESP> UnwindSafe for EmbeddedAffineSubspace<FS, SP, ESP>
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