pyoptools.raytrace.surface.plane module

Module that defines a plane surface class

class pyoptools.raytrace.surface.plane.Plane

Bases: pyoptools.raytrace.surface.surface.Surface

Class to define a plane surface.

Description:

Plane is a class to define rectangular plane surfaces. The surface shape is given by the shape attribute

Example

>>> ps=Plane(shape=Rectangular(size=(25,15)))
normal()

Method that returns the normal to the surface

topo()

Method that returns the topography of the surface

The matrix returned is z=f(x,y). This method mus be overloaded in all subclasses of Surface.