|
lsst.afw
19.0.0-7-ge358e0fc4
|
Public Member Functions | |
| def | __repr__ (self) |
| def | __reduce__ (self) |
| def | __iter__ (self) |
| def | __getitem__ (self, i) |
| def | __len__ (self) |
| def | __contains__ (self, point) |
| def | display (self, xy0=None, frame=1, ctype=None) |
| def | plot (self, axes=None, kwargs) |
Definition at line 29 of file polygonContinued.py.
| def lsst.afw.geom.polygon.polygonContinued.Polygon.__contains__ | ( | self, | |
| point | |||
| ) |
point in polygon?
Definition at line 47 of file polygonContinued.py.
| def lsst.afw.geom.polygon.polygonContinued.Polygon.__getitem__ | ( | self, | |
| i | |||
| ) |
Definition at line 41 of file polygonContinued.py.
| def lsst.afw.geom.polygon.polygonContinued.Polygon.__iter__ | ( | self | ) |
Iterator over vertices
Definition at line 36 of file polygonContinued.py.
| def lsst.afw.geom.polygon.polygonContinued.Polygon.__len__ | ( | self | ) |
Definition at line 44 of file polygonContinued.py.
| def lsst.afw.geom.polygon.polygonContinued.Polygon.__reduce__ | ( | self | ) |
Definition at line 33 of file polygonContinued.py.
| def lsst.afw.geom.polygon.polygonContinued.Polygon.__repr__ | ( | self | ) |
Definition at line 30 of file polygonContinued.py.
| def lsst.afw.geom.polygon.polygonContinued.Polygon.display | ( | self, | |
xy0 = None, |
|||
frame = 1, |
|||
ctype = None |
|||
| ) |
Display polygon on existing frame
Definition at line 51 of file polygonContinued.py.
| def lsst.afw.geom.polygon.polygonContinued.Polygon.plot | ( | self, | |
axes = None, |
|||
| kwargs | |||
| ) |
Plot polygon with matplotlib
Parameters
----------
axes : `matplotlib.axes.Axes`
Matplotlib axes to use, or None
kwargs : any
Additional arguments to `matplotlib.axes.Axes.plot`
or `matplotlib.axes.Axes.scatter`.
Returns
-------
axes : `matplotlib.axes.Axes`
The axes used to make the plot (same as ``axes``, if provided).
Definition at line 61 of file polygonContinued.py.
1.8.13