|
lsst.afw
16.0-61-g8d4b44b59+2
|
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 8 of file polygonContinued.py.
| def lsst.afw.geom.polygon.polygonContinued.Polygon.__contains__ | ( | self, | |
| point | |||
| ) |
point in polygon?
Definition at line 26 of file polygonContinued.py.
| def lsst.afw.geom.polygon.polygonContinued.Polygon.__getitem__ | ( | self, | |
| i | |||
| ) |
Definition at line 20 of file polygonContinued.py.
| def lsst.afw.geom.polygon.polygonContinued.Polygon.__iter__ | ( | self | ) |
Iterator over vertices
Definition at line 15 of file polygonContinued.py.
| def lsst.afw.geom.polygon.polygonContinued.Polygon.__len__ | ( | self | ) |
Definition at line 23 of file polygonContinued.py.
| def lsst.afw.geom.polygon.polygonContinued.Polygon.__reduce__ | ( | self | ) |
Definition at line 12 of file polygonContinued.py.
| def lsst.afw.geom.polygon.polygonContinued.Polygon.__repr__ | ( | self | ) |
Definition at line 9 of file polygonContinued.py.
| def lsst.afw.geom.polygon.polygonContinued.Polygon.display | ( | self, | |
xy0 = None, |
|||
frame = 1, |
|||
ctype = None |
|||
| ) |
Display polygon on existing frame in ds9
Definition at line 30 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 39 of file polygonContinued.py.
1.8.13