lsst.afw  20.0.0-4-gde602ef96+5
Public Member Functions | List of all members
lsst.afw.geom.polygon.polygonContinued.Polygon Class Reference

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)
 

Detailed Description

Definition at line 29 of file polygonContinued.py.

Member Function Documentation

◆ __contains__()

def lsst.afw.geom.polygon.polygonContinued.Polygon.__contains__ (   self,
  point 
)
point in polygon?

Definition at line 47 of file polygonContinued.py.

◆ __getitem__()

def lsst.afw.geom.polygon.polygonContinued.Polygon.__getitem__ (   self,
  i 
)

Definition at line 41 of file polygonContinued.py.

◆ __iter__()

def lsst.afw.geom.polygon.polygonContinued.Polygon.__iter__ (   self)
Iterator over vertices

Definition at line 36 of file polygonContinued.py.

◆ __len__()

def lsst.afw.geom.polygon.polygonContinued.Polygon.__len__ (   self)

Definition at line 44 of file polygonContinued.py.

◆ __reduce__()

def lsst.afw.geom.polygon.polygonContinued.Polygon.__reduce__ (   self)

Definition at line 33 of file polygonContinued.py.

◆ __repr__()

def lsst.afw.geom.polygon.polygonContinued.Polygon.__repr__ (   self)

Definition at line 30 of file polygonContinued.py.

◆ display()

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.

◆ plot()

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.


The documentation for this class was generated from the following file: