draw_lens
- lenstest.lenstest.draw_lens(D, RoC, middle=0)[source]
Draw and fill a biconvex lens shape.
If the glass has an index of 1.5, then the radius-of-curvature will equal the focal length.
The lens is drawn with its center at center
- Parameters:
D – diameter of the lens
RoC – x-value of center of circle
middle – y-value of center of circle
- Returns:
Nothing. Use plt.show() to see result