# 2.4. Optical Elements¶

## 2.4.1. Spherical Lenses¶

class raysect.primitive.lens.spherical.BiConvex

A bi-convex spherical lens primitive.

A lens consisting of two convex spherical surfaces aligned on a common axis. The two surfaces sit at either end of a cylindrical barrel that is aligned to lie along the z-axis.

The two lens surfaces are referred to as front and back respectively. The back surface is the negative surface most on the z-axis, while the front surface is the positive most surface on the z-axis. The centre of the back surface lies on z=0 and with the lens extending along the +ve z direction.

Parameters: diameter – The diameter of the lens body. center_thickness – The thickness of the lens measured along the lens axis. front_curvature – The radius of curvature of the front surface. back_curvature – The radius of curvature of the back surface. parent – Assigns the Node’s parent to the specified scene-graph object. transform – Sets the affine transform associated with the Node. material – An object representing the material properties of the primitive. name – A string defining the node name.
class raysect.primitive.lens.spherical.BiConcave

A bi-concave spherical lens primitive.

A lens consisting of two concave spherical surfaces aligned on a common axis. The two surfaces sit at either end of a cylindrical barrel that is aligned to lie along the z-axis.

The two lens surfaces are referred to as front and back respectively. The back surface is the negative surface most on the z-axis, while the front surface is the positive most surface on the z-axis. The centre of the back surface lies on z=0 and with the lens extending along the +ve z direction.

Parameters: diameter – The diameter of the lens body. center_thickness – The thickness of the lens measured along the lens axis. front_curvature – The radius of curvature of the front surface. back_curvature – The radius of curvature of the back surface. parent – Assigns the Node’s parent to the specified scene-graph object. transform – Sets the affine transform associated with the Node. material – An object representing the material properties of the primitive. name – A string defining the node name.
class raysect.primitive.lens.spherical.PlanoConvex

A plano-convex spherical lens primitive.

A lens consisting of a convex spherical surface and a plane (flat) surface, aligned on a common axis. The two surfaces sit at either end of a cylindrical barrel that is aligned to lie along the z-axis.

The two lens surfaces are referred to as front and back respectively. The back surface is the plane surface, it is the negative surface most on the z-axis. The front surface is the spherical surface, it is the positive most surface on the z-axis. The back (plane) surface lies on z=0 with the lens extending along the +ve z direction.

Parameters: diameter – The diameter of the lens body. center_thickness – The thickness of the lens measured along the lens axis. curvature – The radius of curvature of the spherical front surface. parent – Assigns the Node’s parent to the specified scene-graph object. transform – Sets the affine transform associated with the Node. material – An object representing the material properties of the primitive. name – A string defining the node name.
class raysect.primitive.lens.spherical.PlanoConcave

A plano-concave spherical lens primitive.

A lens consisting of a concave spherical surface and a plane (flat) surface, aligned on a common axis. The two surfaces sit at either end of a cylindrical barrel that is aligned to lie along the z-axis.

The two lens surfaces are referred to as front and back respectively. The back surface is the plane surface, it is the negative surface most on the z-axis. The front surface is the spherical surface, it is the positive most surface on the z-axis. The back (plane) surface lies on z=0 with the lens extending along the +ve z direction.

Parameters: diameter – The diameter of the lens body. center_thickness – The thickness of the lens measured along the lens axis. curvature – The radius of curvature of the spherical front surface. parent – Assigns the Node’s parent to the specified scene-graph object. transform – Sets the affine transform associated with the Node. material – An object representing the material properties of the primitive. name – A string defining the node name.
class raysect.primitive.lens.spherical.Meniscus

A meniscus spherical lens primitive.

A lens consisting of a concave and a convex spherical surface aligned on a common axis. The two surfaces sit at either end of a cylindrical barrel that is aligned to lie along the z-axis.

The two lens surfaces are referred to as front and back respectively. The back surface is concave, it is the negative surface most on the z-axis. The front surface is convex, it is the positive most surface on the z-axis. The centre of the back surface lies on z=0 and with the lens extending along the +ve z direction.

Parameters: diameter – The diameter of the lens body. center_thickness – The thickness of the lens measured along the lens axis. front_curvature – The radius of curvature of the front (convex) surface. back_curvature – The radius of curvature of the back (concave) surface. parent – Assigns the Node’s parent to the specified scene-graph object. transform – Sets the affine transform associated with the Node. material – An object representing the material properties of the primitive. name – A string defining the node name.