LSSTApplications
12.1-5-gbdcc3ab,15.0+10,15.0+19,15.0-1-g19261fa+10,15.0-1-g60afb23+19,15.0-1-g615e0bb+11,15.0-1-g6668b0b+6,15.0-1-g788a293+19,15.0-1-ga91101e+19,15.0-1-gae1598d+9,15.0-1-gd076f1f+17,15.0-1-gdf18595+3,15.0-1-gf4f1c34+9,15.0-10-g113cadf7+2,15.0-11-g5674e3b,15.0-2-g100d730+12,15.0-2-g20c4630+8,15.0-2-g35685a8+15,15.0-2-g5dfaa72+8,15.0-2-gf38729e+14,15.0-24-g02ed2a30c+2,15.0-3-g11fe1a0+3,15.0-3-g130a88a+2,15.0-3-g707930d+1,15.0-3-g9103c06+9,15.0-3-ga03b4ca+26,15.0-3-gaec6799+6,15.0-4-g32c2b40+2,15.0-4-g535e784+3,15.0-4-g654b129+17,15.0-5-g23e394c+7,15.0-5-g54bfcd9+2,15.0-5-gb31927c,15.0-6-g4418537+2,15.0-7-g0c26201,15.0-7-g6bb3a066+2,15.0-9-g5661f8f+4,w.2018.18
LSSTDataManagementBasePackage
|
Public Member Functions | |
def | __init__ (self, center, radius) |
def | getBoundingBox (self) |
def | getBoundingCircle (self) |
def | getCenter (self) |
def | getRadius (self) |
def | isEmpty (self) |
def | isFull (self) |
def | contains (self, pointOrRegion) |
def | intersects (self, pointOrRegion) |
def | __repr__ (self) |
def | __eq__ (self, other) |
def | __hash__ (self) |
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 794 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 799 of file geometry.py.
def lsst.geom.geometry.SphericalCircle.__eq__ | ( | self, | |
other | |||
) |
Definition at line 948 of file geometry.py.
def lsst.geom.geometry.SphericalCircle.__hash__ | ( | self | ) |
Definition at line 959 of file geometry.py.
def lsst.geom.geometry.SphericalCircle.__repr__ | ( | self | ) |
Returns a string representation of this circle.
Definition at line 942 of file geometry.py.
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 858 of file geometry.py.
def lsst.geom.geometry.SphericalCircle.getBoundingBox | ( | self | ) |
def lsst.geom.geometry.SphericalCircle.getBoundingCircle | ( | self | ) |
Definition at line 833 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 836 of file geometry.py.
def lsst.geom.geometry.SphericalCircle.getRadius | ( | self | ) |
Returns the radius (degrees) of this circle.
Definition at line 842 of file geometry.py.
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 906 of file geometry.py.
def lsst.geom.geometry.SphericalCircle.isEmpty | ( | self | ) |
Returns True if this circle contains no points.
Definition at line 847 of file geometry.py.
def lsst.geom.geometry.SphericalCircle.isFull | ( | self | ) |
Returns True if this spherical box contains every point on the unit sphere.
Definition at line 852 of file geometry.py.
lsst.geom.geometry.SphericalCircle.boundingBox |
Definition at line 804 of file geometry.py.
lsst.geom.geometry.SphericalCircle.center |
Definition at line 802 of file geometry.py.
lsst.geom.geometry.SphericalCircle.radius |
Definition at line 803 of file geometry.py.