components_view

Function components_view 

Source
pub fn components_view(
    sequential_model: &SequentialModel,
    background: RefractiveIndexSpec,
) -> Result<HashSet<Component>>
Expand description

Determine the components of an optical system.

Components are the basic building blocks of an optical system. They are either elements or stops. Elements are pairs of surfaces that interact with light rays. Stops are hard stops that block light rays.

Components serve to group surfaces together into individual lenses.

ยงArguments

  • sequential_model - The sequential model of the optical system.
  • background - The refractive index of the background medium.