pub struct Interval { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl GeoSet for Interval
impl GeoSet for Interval
fn from_unit_box(dim: usize) -> Self
fn dim(&self) -> usize
fn empty(&self) -> Result<bool, SetOperationError>
fn to_vertices(&self) -> Result<Array2<f64>, SetOperationError>
fn center(&self) -> Result<Array1<f64>, SetOperationError>
fn support_function( &self, direction: Array1<f64>, ) -> Result<(Array1<f64>, f64), SetOperationError>
fn volume(&self) -> Result<f64, SetOperationError>
fn minkowski_sum_(&mut self, other: &Self) -> Result<(), SetOperationError>
fn matmul_(&mut self, mat: &Array2<f64>) -> Result<(), SetOperationError>
fn translate_(&mut self, vector: &Array1<f64>) -> Result<(), SetOperationError>
fn degenerate(&self) -> bool
fn contains_point(&self, point: &Array1<f64>) -> Result<bool, SetOperationError>
fn minkowski_sum(&self, other: &Self) -> Result<Self, SetOperationError>
fn matmul(&self, mat: &Array2<f64>) -> Result<Self, SetOperationError>
fn translate(&self, vector: &Array1<f64>) -> Result<Self, SetOperationError>
fn create_trace( &self, dim: (usize, usize), name: Option<&str>, ) -> Result<Box<dyn Trace>, SetOperationError>
fn plot( &self, dim: (usize, usize), equal_axis: bool, show: bool, ) -> Result<Plot, SetOperationError>
fn _check_operand_dim(&self, dim: usize) -> Result<(), SetOperationError>
Auto Trait Implementations§
impl Freeze for Interval
impl RefUnwindSafe for Interval
impl Send for Interval
impl Sync for Interval
impl Unpin for Interval
impl UnwindSafe for Interval
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