pyoptools.raytrace.shape.circular module

Module that defines the Circular superclass

class pyoptools.raytrace.shape.circular.Circular

Bases: pyoptools.raytrace.shape.shape.Shape

Class defining an circular shape.

fhit()

This method returns TRUE if an p=(x,y,z)point is inside the surface aperture if not it must return FALSE. This is implemented for a point, in cython, to make it fast

hit()

Method that returns True if a p=(X,Y,Z) point is inside the aperture, if not it returns False.

limits()

Returns the minimum limits for the aperture

pointlist()

This method should return a point_list that samples adecuately the shape.

The return value must be a tuple (X,Y) where X contains the X coordinates of the points, and Y the y coordinates. It must be overloaded, for each shape

radius
samples