pub struct CandelaTabulation {
pub entries: Vec<CandelaEntry>,
pub c_planes: Vec<f64>,
pub g_angles: Vec<f64>,
pub max_candela: f64,
pub max_angle: (f64, f64),
pub total_flux: f64,
}Expand description
Candela tabulation for photometric reports.
Contains absolute candela values at each measurement angle, formatted similar to Photometric Toolbox output.
Fields§
§entries: Vec<CandelaEntry>All candela entries
c_planes: Vec<f64>C-plane angles present
g_angles: Vec<f64>Gamma angles present
max_candela: f64Maximum candela value
max_angle: (f64, f64)Angle of maximum candela (c, gamma)
total_flux: f64Total luminous flux (for absolute values)
Implementations§
Source§impl CandelaTabulation
impl CandelaTabulation
Sourcepub fn from_eulumdat(ldt: &Eulumdat) -> Self
pub fn from_eulumdat(ldt: &Eulumdat) -> Self
Create candela tabulation from Eulumdat data.
Sourcepub fn estimated_pages(&self, entries_per_page: usize) -> usize
pub fn estimated_pages(&self, entries_per_page: usize) -> usize
Get number of pages this would require (for report generation).
Trait Implementations§
Source§impl Clone for CandelaTabulation
impl Clone for CandelaTabulation
Source§fn clone(&self) -> CandelaTabulation
fn clone(&self) -> CandelaTabulation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CandelaTabulation
impl Debug for CandelaTabulation
Source§impl Default for CandelaTabulation
impl Default for CandelaTabulation
Source§fn default() -> CandelaTabulation
fn default() -> CandelaTabulation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CandelaTabulation
impl RefUnwindSafe for CandelaTabulation
impl Send for CandelaTabulation
impl Sync for CandelaTabulation
impl Unpin for CandelaTabulation
impl UnsafeUnpin for CandelaTabulation
impl UnwindSafe for CandelaTabulation
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