Skip to main content

zernikeS

Struct zernikeS 

Source
#[repr(C)]
pub struct zernikeS {
Show 23 fields pub max_n: c_int, pub j: c_uint, pub n: c_uint, pub m: c_uint, pub n_mode: c_uint, pub a: *mut rtd, pub d__a: *mut rtd, pub bx: *mut rtd, pub by: *mut rtd, pub d__bx: *mut rtd, pub d__by: *mut rtd, pub bx_row_idx: *mut c_uint, pub bx_col_ptr: *mut c_uint, pub by_row_idx: *mut c_uint, pub by_col_ptr: *mut c_uint, pub bx_nnz: c_uint, pub by_nnz: c_uint, pub cx: *mut rtd, pub d__cx: *mut rtd, pub cy: *mut rtd, pub d__cy: *mut rtd, pub N: c_int, pub ref_frame: coordinate_system,
}

Fields§

§max_n: c_int§j: c_uint§n: c_uint§m: c_uint§n_mode: c_uint§a: *mut rtd§d__a: *mut rtd§bx: *mut rtd§by: *mut rtd§d__bx: *mut rtd§d__by: *mut rtd§bx_row_idx: *mut c_uint§bx_col_ptr: *mut c_uint§by_row_idx: *mut c_uint§by_col_ptr: *mut c_uint§bx_nnz: c_uint§by_nnz: c_uint§cx: *mut rtd§d__cx: *mut rtd§cy: *mut rtd§d__cy: *mut rtd§N: c_int§ref_frame: coordinate_system

Implementations§

Source§

impl zernikeS

Source

pub unsafe fn setup(&mut self, max_n: c_int, a: *mut rtd)

Source

pub unsafe fn setup1(&mut self, _max_n_: c_int, _a_: *mut rtd, _N_: c_int)

Source

pub unsafe fn setup2( &mut self, max_n: c_int, a: *mut rtd, _origin_: vector, _euler_angles_: vector, )

Source

pub unsafe fn setup3( &mut self, max_n: c_int, a: *mut rtd, _origin_: vector, _euler_angles_: vector, _N_: c_int, )

Source

pub unsafe fn cleanup(&mut self)

Source

pub unsafe fn surface( &mut self, S: *mut rtd, r: *mut rtd, o: *mut rtd, N: c_int, )

Source

pub unsafe fn surface1( &mut self, S: *mut rtd, r: *mut rtd, o: *mut rtd, N: c_int, surf_id: c_int, )

Source

pub unsafe fn update(&mut self, a: *mut rtd)

Source

pub unsafe fn surface_derivative_coefs(&mut self)

Source

pub unsafe fn surface_derivatives( &mut self, d__dSdx: *mut rtd, d__dSdy: *mut rtd, d__r: *mut rtd, d__o: *mut rtd, N: c_int, )

Source

pub unsafe fn surface_and_derivatives( &mut self, d__S: *mut rtd, d__dSdx: *mut rtd, d__dSdy: *mut rtd, d__r: *mut rtd, d__o: *mut rtd, N: c_int, )

Source

pub unsafe fn surface_and_derivatives1( &mut self, d__S: *mut rtd, d__dSdx: *mut rtd, d__dSdy: *mut rtd, d__r: *mut rtd, d__o: *mut rtd, N: c_int, surf_id: c_int, )

Source

pub unsafe fn projection( &mut self, d__phase: *mut f32, d__r: *mut rtd, d__o: *mut rtd, N: c_int, )

Trait Implementations§

Source§

impl Clone for zernikeS

Source§

fn clone(&self) -> zernikeS

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for zernikeS

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for zernikeS

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.