pub enum LuminousShape {
Show 15 variants
Point,
Rectangular,
RectangularWithSides,
Circular,
Ellipse,
VerticalCylinder,
VerticalEllipsoidalCylinder,
Sphere,
EllipsoidalSpheroid,
HorizontalCylinderAlong,
HorizontalEllipsoidalCylinderAlong,
HorizontalCylinderPerpendicular,
HorizontalEllipsoidalCylinderPerpendicular,
VerticalCircle,
VerticalEllipse,
}Expand description
Luminous opening shape (LM-63-2019 Section 5.11, Table 1).
Determined by the signs of width, length, and height dimensions.
Variants§
Point
Point source (all dimensions = 0)
Rectangular
Rectangular opening (width > 0, length > 0, height = 0)
RectangularWithSides
Rectangular with luminous sides (all > 0)
Circular
Circular (width = length < 0, height = 0)
Ellipse
Ellipse (width < 0, length < 0, height = 0)
VerticalCylinder
Vertical cylinder (width = length < 0, height > 0)
VerticalEllipsoidalCylinder
Vertical ellipsoidal cylinder
Sphere
Sphere (all negative, equal)
EllipsoidalSpheroid
Ellipsoidal spheroid (all negative, not equal)
HorizontalCylinderAlong
Horizontal cylinder along photometric horizontal
HorizontalEllipsoidalCylinderAlong
Horizontal ellipsoidal cylinder along photometric horizontal
HorizontalCylinderPerpendicular
Horizontal cylinder perpendicular to photometric horizontal
HorizontalEllipsoidalCylinderPerpendicular
Horizontal ellipsoidal cylinder perpendicular to photometric horizontal
VerticalCircle
Vertical circle facing photometric horizontal
VerticalEllipse
Vertical ellipse facing photometric horizontal
Implementations§
Source§impl LuminousShape
impl LuminousShape
Sourcepub fn from_dimensions(width: f64, length: f64, height: f64) -> Self
pub fn from_dimensions(width: f64, length: f64, height: f64) -> Self
Determine shape from width, length, height values.
Sourcepub fn description(&self) -> &'static str
pub fn description(&self) -> &'static str
Get description of the shape.
Trait Implementations§
Source§impl Clone for LuminousShape
impl Clone for LuminousShape
Source§fn clone(&self) -> LuminousShape
fn clone(&self) -> LuminousShape
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more