Skip to main content

ComprehensiveBeamAnalysis

Struct ComprehensiveBeamAnalysis 

Source
pub struct ComprehensiveBeamAnalysis {
    pub downward_beam_angle: f64,
    pub downward_field_angle: f64,
    pub downward_peak_intensity: f64,
    pub downward_peak_gamma: f64,
    pub upward_beam_angle: f64,
    pub upward_field_angle: f64,
    pub upward_peak_intensity: f64,
    pub upward_peak_gamma: f64,
    pub primary_direction: LightDirection,
    pub distribution_type: DistributionType,
}
Expand description

Comprehensive beam angle analysis for both downward and upward light components.

This provides separate beam and field angles for each hemisphere, useful for luminaires with light output in both directions (direct-indirect, uplights, etc.).

Fields§

§downward_beam_angle: f64

Beam angle for downward light (50% of downward peak) in degrees

§downward_field_angle: f64

Field angle for downward light (10% of downward peak) in degrees

§downward_peak_intensity: f64

Peak intensity in lower hemisphere (cd/klm)

§downward_peak_gamma: f64

Gamma angle of peak intensity in lower hemisphere (degrees)

§upward_beam_angle: f64

Beam angle for upward light (50% of upward peak) in degrees

§upward_field_angle: f64

Field angle for upward light (10% of upward peak) in degrees

§upward_peak_intensity: f64

Peak intensity in upper hemisphere (cd/klm)

§upward_peak_gamma: f64

Gamma angle of peak intensity in upper hemisphere (degrees)

§primary_direction: LightDirection

Primary light direction (based on higher peak intensity)

§distribution_type: DistributionType

Distribution type classification

Implementations§

Source§

impl ComprehensiveBeamAnalysis

Source

pub fn has_upward_component(&self) -> bool

Returns true if there is significant upward light component

Source

pub fn has_downward_component(&self) -> bool

Returns true if there is significant downward light component

Source

pub fn upward_to_downward_ratio(&self) -> f64

Returns the ratio of upward to downward peak intensity

Source

pub fn primary_beam_angle(&self) -> f64

Get the primary beam angle (from the dominant direction)

Source

pub fn primary_field_angle(&self) -> f64

Get the primary field angle (from the dominant direction)

Trait Implementations§

Source§

impl Clone for ComprehensiveBeamAnalysis

Source§

fn clone(&self) -> ComprehensiveBeamAnalysis

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 ComprehensiveBeamAnalysis

Source§

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

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

impl Default for ComprehensiveBeamAnalysis

Source§

fn default() -> ComprehensiveBeamAnalysis

Returns the “default value” for a type. Read more
Source§

impl Display for ComprehensiveBeamAnalysis

Source§

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

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

impl PartialEq for ComprehensiveBeamAnalysis

Source§

fn eq(&self, other: &ComprehensiveBeamAnalysis) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for ComprehensiveBeamAnalysis

Source§

impl StructuralPartialEq for ComprehensiveBeamAnalysis

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> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. 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.