#[repr(C)]pub struct bundle {Show 21 fields
pub N_RAY: c_int,
pub d__ray: *mut ray,
pub N_BUNDLE: c_int,
pub N_RAY_TOTAL: c_int,
pub d__origin: *mut vector,
pub rot_angle: f64,
pub d__chief_ray: *mut ray,
pub d__chief_origin: *mut vector,
pub V: mask,
pub geom: [c_char; 8],
pub N_RADIUS: c_int,
pub N_THETA: c_int,
pub N_L: c_int,
pub L: rtd,
pub d__sphere_distance: *mut rtd,
pub d__sphere_radius: *mut rtd,
pub d__sphere_origin: *mut vector,
pub d__piston_mask: *mut c_int,
pub refractive_index: rtd,
pub d__Vx: *mut f64,
pub d__Vy: *mut f64,
}Fields§
§N_RAY: c_int§d__ray: *mut ray§N_BUNDLE: c_int§N_RAY_TOTAL: c_int§d__origin: *mut vector§rot_angle: f64§d__chief_ray: *mut ray§d__chief_origin: *mut vector§V: mask§geom: [c_char; 8]§N_RADIUS: c_int§N_THETA: c_int§N_L: c_int§L: rtd§d__sphere_distance: *mut rtd§d__sphere_radius: *mut rtd§d__sphere_origin: *mut vector§d__piston_mask: *mut c_int§refractive_index: rtd§d__Vx: *mut f64§d__Vy: *mut f64Implementations§
Source§impl bundle
impl bundle
pub unsafe fn setup( &mut self, RADIUS: rtd, N_RADIUS: c_int, N_THETA: c_int, origin: vector, N_SRC: c_int, )
pub unsafe fn setup1( &mut self, L: rtd, N_L: c_int, origin: vector, N_SRC: c_int, )
pub unsafe fn setup2( &mut self, L: rtd, N_L: c_int, origin: vector, chief_origin: vector, N_SRC: c_int, )
pub unsafe fn setup_free( &mut self, _N_RAY_: c_int, x: *mut f64, y: *mut f64, origin: vector, )
pub unsafe fn setup_free1( &mut self, zenith: f64, azimuth: f64, _N_RAY_: c_int, x: *mut f64, y: *mut f64, origin: vector, )
pub unsafe fn cleanup(&mut self)
pub unsafe fn to_z_plane(&mut self, z_in: rtd)
pub unsafe fn to_focal_plane( &mut self, z_chief_on_axis: rtd, rho_focal_plane: rtd, )
pub unsafe fn to_sphere(&mut self, sphere_origin: vector)
pub unsafe fn to_sphere1(&mut self, z_chief_on_axis: rtd, rho_focal_plane: rtd)
pub unsafe fn get_coordinates(&mut self, d__coord: *mut f64)
pub unsafe fn get_chief_coordinates(&mut self, d__coord: *mut f64)
pub unsafe fn get_sphere_origins(&mut self, d__coord: *mut f64)
pub unsafe fn get_directions(&mut self, d__dir: *mut f64)
pub unsafe fn get_chief_directions(&mut self, d__dir: *mut f64)
pub unsafe fn get_chief_optical_path_length(&mut self, d__opl: *mut f64)
pub unsafe fn get_optical_path_length(&mut self, d__opl: *mut f64)
pub unsafe fn get_optical_path_difference(&mut self, d__opd: *mut f64)
pub unsafe fn get_optical_path_difference1( &mut self, d__opd: *mut f64, delta_x: f32, N_x: c_int, delta_y: f32, N_y: c_int, )
pub unsafe fn get_vignetting(&mut self, d__v: *mut f64)
pub unsafe fn get_n_iteration(&mut self, n_iteration: *mut c_int)
pub unsafe fn gmt_truss_onaxis(&mut self)
pub unsafe fn gmt_truss_onaxis_1(&mut self, scale: f64)
pub unsafe fn gmt_truss_onaxis_2(&mut self, scale: f64)
pub unsafe fn gmt_truss_onaxis_3(&mut self, scale: f64)
pub unsafe fn gmt_pma_onaxis(&mut self)
pub unsafe fn gmt_pma_plate_onaxis(&mut self)
pub unsafe fn gmt_m2_baffle(&mut self)
Trait Implementations§
impl Copy for bundle
impl Send for bundle
Auto Trait Implementations§
impl Freeze for bundle
impl RefUnwindSafe for bundle
impl !Sync for bundle
impl Unpin for bundle
impl UnwindSafe for bundle
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