pub struct ConvexHull<FS: OrderedRingStructure + FieldStructure, SP: Borrow<AffineSpace<FS>> + Clone>{ /* private fields */ }Implementations§
Source§impl<FS: OrderedRingStructure + FieldStructure, SP: Borrow<AffineSpace<FS>> + Clone> ConvexHull<FS, SP>
impl<FS: OrderedRingStructure + FieldStructure, SP: Borrow<AffineSpace<FS>> + Clone> ConvexHull<FS, SP>
pub fn new_empty(ambient_space: SP) -> Self
pub fn new(ambient_space: SP, points: Vec<Vector<FS, SP>>) -> Self
pub fn affine_span_dimension(&self) -> usize
pub fn from_simplex(spx: Simplex<FS, SP>) -> Self
pub fn ambient_space(&self) -> SP
pub fn is_empty(&self) -> bool
pub fn defining_points(&self) -> HashSet<Vector<FS, SP>>
pub fn extend_by_point(&mut self, pt: Vector<FS, SP>)
pub fn as_simplicial_complex( &self, ) -> LabelledSimplicialComplex<FS, SP, InteriorBoundaryLabel>
Source§impl<FS: OrderedRingStructure + FieldStructure, SP: Borrow<AffineSpace<FS>> + Clone> ConvexHull<FS, SP>
impl<FS: OrderedRingStructure + FieldStructure, SP: Borrow<AffineSpace<FS>> + Clone> ConvexHull<FS, SP>
pub fn intersect_with_oriented_hyperplane( &self, hyperplane: &OrientedHyperplane<FS, SP>, region: OrientationSide, ) -> Self
pub fn intersect_mut(&mut self, other: &Self)
pub fn intersect(&self, other: &Self) -> Self
Trait Implementations§
Source§impl<FS: Clone + OrderedRingStructure + FieldStructure, SP: Clone + Borrow<AffineSpace<FS>> + Clone> Clone for ConvexHull<FS, SP>
impl<FS: Clone + OrderedRingStructure + FieldStructure, SP: Clone + Borrow<AffineSpace<FS>> + Clone> Clone for ConvexHull<FS, SP>
Source§fn clone(&self) -> ConvexHull<FS, SP>
fn clone(&self) -> ConvexHull<FS, SP>
Returns a copy 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: OrderedRingStructure + FieldStructure, SP: Borrow<AffineSpace<FS>> + Clone> Debug for ConvexHull<FS, SP>
impl<FS: OrderedRingStructure + FieldStructure, SP: Borrow<AffineSpace<FS>> + Clone> Debug for ConvexHull<FS, SP>
Auto Trait Implementations§
impl<FS, SP> Freeze for ConvexHull<FS, SP>where
SP: Freeze,
impl<FS, SP> RefUnwindSafe for ConvexHull<FS, SP>
impl<FS, SP> !Send for ConvexHull<FS, SP>
impl<FS, SP> !Sync for ConvexHull<FS, SP>
impl<FS, SP> Unpin for ConvexHull<FS, SP>
impl<FS, SP> UnwindSafe for ConvexHull<FS, SP>
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