pyoptools.raytrace.shape.rectangular module¶
Module that defines the Rectangular class
-
class
pyoptools.raytrace.shape.rectangular.
Rectangular
¶ Bases:
pyoptools.raytrace.shape.shape.Shape
Class defining an rectangular 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 rectangle, if not it returns False.
-
limits
()¶ Returns the minimum limits for the aperture
-
offset
¶
-
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
-
samples
¶
-
size
¶
-