[][src]Struct splashsurf_lib::Parameters

pub struct Parameters<R: Real> {
    pub particle_radius: R,
    pub rest_density: R,
    pub kernel_radius: R,
    pub splash_detection_radius: Option<R>,
    pub cube_size: R,
    pub iso_surface_threshold: R,
    pub domain_aabb: Option<AxisAlignedBoundingBox3d<R>>,
    pub enable_multi_threading: bool,
}

Parameters for the surface reconstruction

Fields

particle_radius: Rrest_density: Rkernel_radius: Rsplash_detection_radius: Option<R>cube_size: Riso_surface_threshold: Rdomain_aabb: Option<AxisAlignedBoundingBox3d<R>>enable_multi_threading: bool

Implementations

impl<R: Real> Parameters<R>[src]

pub fn try_convert<T: Real>(&self) -> Option<Parameters<T>>[src]

Tries to convert the parameters from one Real type to another Real type, returns None if conversion fails

Trait Implementations

impl<R: Clone + Real> Clone for Parameters<R>[src]

impl<R: Debug + Real> Debug for Parameters<R>[src]

Auto Trait Implementations

impl<R> RefUnwindSafe for Parameters<R> where
    R: RefUnwindSafe + Scalar
[src]

impl<R> Send for Parameters<R> where
    R: Scalar
[src]

impl<R> Sync for Parameters<R> where
    R: Scalar
[src]

impl<R> Unpin for Parameters<R> where
    R: Scalar + Unpin
[src]

impl<R> UnwindSafe for Parameters<R> where
    R: Scalar + UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,