pub struct NemaClassification {
pub horizontal_spread: f64,
pub vertical_spread: f64,
pub horizontal_type: u8,
pub vertical_type: u8,
pub i_max: f64,
pub designation: String,
}Expand description
NEMA floodlight beam classification
Classifies a luminaire’s horizontal and vertical beam spreads according to NEMA FL 11 (National Electrical Manufacturers Association) field angle types, using the 10%-of-I_max threshold in Type B coordinates.
| NEMA Type | Spread Range |
|---|---|
| 1 | 10°–18° |
| 2 | 18°–29° |
| 3 | 29°–46° |
| 4 | 46°–70° |
| 5 | 70°–100° |
| 6 | 100°–130° |
| 7 | >130° |
Fields§
§horizontal_spread: f64Full horizontal spread angle in degrees (10% threshold)
vertical_spread: f64Full vertical spread angle in degrees (10% threshold)
horizontal_type: u8NEMA type for horizontal spread (1–7)
vertical_type: u8NEMA type for vertical spread (1–7)
i_max: f64Maximum beam intensity in cd/klm
designation: StringNEMA designation string (e.g., “NEMA 3H x 5V”)
Trait Implementations§
Source§impl Clone for NemaClassification
impl Clone for NemaClassification
Source§fn clone(&self) -> NemaClassification
fn clone(&self) -> NemaClassification
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 NemaClassification
impl Debug for NemaClassification
Source§impl Display for NemaClassification
impl Display for NemaClassification
Source§impl PartialEq for NemaClassification
impl PartialEq for NemaClassification
impl StructuralPartialEq for NemaClassification
Auto Trait Implementations§
impl Freeze for NemaClassification
impl RefUnwindSafe for NemaClassification
impl Send for NemaClassification
impl Sync for NemaClassification
impl Unpin for NemaClassification
impl UnsafeUnpin for NemaClassification
impl UnwindSafe for NemaClassification
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