pub struct PhotometricWeb { /* private fields */ }
Implementations
sourceimpl PhotometricWeb
impl PhotometricWeb
sourceimpl PhotometricWeb
impl PhotometricWeb
sourcepub fn new() -> PhotometricWeb
pub fn new() -> PhotometricWeb
Returns a new instance of the PhotometricWeb object with default values.
sourcepub fn set_planes(&mut self, planes: Vec<Plane>)
pub fn set_planes(&mut self, planes: Vec<Plane>)
Set the
sourcepub fn is_spherically_symmetric(&self) -> bool
pub fn is_spherically_symmetric(&self) -> bool
Is this a full web, or spherically symmetric?
sourcepub fn delta_angle(&self, i: usize) -> PlaneWidth
pub fn delta_angle(&self, i: usize) -> PlaneWidth
The dphi for a given plane - used during integration.
sourcepub fn total_intensity(&self) -> f64
pub fn total_intensity(&self) -> f64
Integrates the total energy coming from the intensity distribution. This makes use of the integration that is a part of the planes.
sourcepub fn get_adjacent_planes(&self, iplane: i32) -> (&Plane, &Plane)
pub fn get_adjacent_planes(&self, iplane: i32) -> (&Plane, &Plane)
Returns the adjacent planes of a plane at a given index. This will resolve the index, so going lower than zero and higher than nplanes - 1 is permitted.
Trait Implementations
sourceimpl Debug for PhotometricWeb
impl Debug for PhotometricWeb
sourceimpl Default for PhotometricWeb
impl Default for PhotometricWeb
sourcefn default() -> PhotometricWeb
fn default() -> PhotometricWeb
Returns the “default value” for a type. Read more
sourceimpl From<EulumdatFile> for PhotometricWeb
impl From<EulumdatFile> for PhotometricWeb
sourcefn from(eul: EulumdatFile) -> Self
fn from(eul: EulumdatFile) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for PhotometricWeb
impl Send for PhotometricWeb
impl Sync for PhotometricWeb
impl Unpin for PhotometricWeb
impl UnwindSafe for PhotometricWeb
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more