LSSTApplications
10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
|
Public Member Functions | |
def | __init__ |
def | getBoundingBox |
def | getBoundingCircle |
def | getCenter |
def | getRadius |
def | isEmpty |
def | isFull |
def | contains |
def | intersects |
def | __repr__ |
def | __eq__ |
Public Attributes | |
center | |
radius | |
boundingBox | |
A circle on the unit sphere. Points falling exactly on the circle are considered to be inside (contained by) the circle.
Definition at line 766 of file geometry.py.
def lsst.geom.geometry.SphericalCircle.__init__ | ( | self, | |
center, | |||
radius | |||
) |
Creates a new spherical circle with the given center and radius.
Definition at line 770 of file geometry.py.
def lsst.geom.geometry.SphericalCircle.__eq__ | ( | self, | |
other | |||
) |
Definition at line 919 of file geometry.py.
def lsst.geom.geometry.SphericalCircle.__repr__ | ( | self | ) |
def lsst.geom.geometry.SphericalCircle.contains | ( | self, | |
pointOrRegion | |||
) |
Returns True if the specified point or spherical region is completely contained in this circle. Note that the implementation is conservative where ellipses are concerned: False may be returned for an ellipse that is actually completely contained in this circle.
Definition at line 829 of file geometry.py.
def lsst.geom.geometry.SphericalCircle.getBoundingBox | ( | self | ) |
Returns a bounding box for this spherical circle.
Definition at line 781 of file geometry.py.
def lsst.geom.geometry.SphericalCircle.getBoundingCircle | ( | self | ) |
Definition at line 804 of file geometry.py.
def lsst.geom.geometry.SphericalCircle.getCenter | ( | self | ) |
Returns an (ra, dec) 2-tuple of floats corresponding to the center of this circle.
Definition at line 807 of file geometry.py.
def lsst.geom.geometry.SphericalCircle.getRadius | ( | self | ) |
def lsst.geom.geometry.SphericalCircle.intersects | ( | self, | |
pointOrRegion | |||
) |
Returns True if the given point or spherical region intersects this circle. Note that the implementation is conservative where ellipses are concerned: True may be returned for an ellipse that is actually disjoint from this circle.
Definition at line 877 of file geometry.py.
def lsst.geom.geometry.SphericalCircle.isEmpty | ( | self | ) |
def lsst.geom.geometry.SphericalCircle.isFull | ( | self | ) |
Returns True if this spherical box contains every point on the unit sphere.
Definition at line 823 of file geometry.py.
lsst.geom.geometry.SphericalCircle.boundingBox |
Definition at line 775 of file geometry.py.
lsst.geom.geometry.SphericalCircle.center |
Definition at line 773 of file geometry.py.
lsst.geom.geometry.SphericalCircle.radius |
Definition at line 774 of file geometry.py.