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, semiMajorAxisLength, semiMinorAxisLength, majorAxisAngle) |
def | getBoundingBox (self) |
def | getBoundingCircle (self) |
def | getInnerCircle (self) |
def | getCenter (self) |
def | getMajorAxisAngle (self) |
def | getSemiMajorAxisLength (self) |
def | getSemiMinorAxisLength (self) |
def | contains (self, pointOrRegion) |
def | intersects (self, pointOrRegion) |
def | __repr__ (self) |
def | __eq__ (self, other) |
def | __hash__ (self) |
Public Attributes | |
center | |
semiMajorAxisLength | |
semiMinorAxisLength | |
majorAxisAngle | |
boundingCircle | |
innerCircle | |
An ellipse on the unit sphere. This is a standard 2D cartesian ellipse defined on the plane tangent to the unit sphere at the ellipse center and then orthographically projected onto the surface of the unit sphere.
Definition at line 962 of file geometry.py.
def lsst.geom.geometry.SphericalEllipse.__init__ | ( | self, | |
center, | |||
semiMajorAxisLength, | |||
semiMinorAxisLength, | |||
majorAxisAngle | |||
) |
Definition at line 970 of file geometry.py.
def lsst.geom.geometry.SphericalEllipse.__eq__ | ( | self, | |
other | |||
) |
Definition at line 1098 of file geometry.py.
def lsst.geom.geometry.SphericalEllipse.__hash__ | ( | self | ) |
Definition at line 1106 of file geometry.py.
def lsst.geom.geometry.SphericalEllipse.__repr__ | ( | self | ) |
def lsst.geom.geometry.SphericalEllipse.contains | ( | self, | |
pointOrRegion | |||
) |
Returns True if the specified point or spherical region is completely contained in this ellipse. The implementation is conservative in the sense that False may be returned for a region that really is contained by this ellipse.
Definition at line 1065 of file geometry.py.
def lsst.geom.geometry.SphericalEllipse.getBoundingBox | ( | self | ) |
Returns a bounding box for this spherical ellipse. Note that at present this is conservative: a bounding box for the circle C with radius equal to the semi-major axis length of this ellipse is returned.
Definition at line 991 of file geometry.py.
def lsst.geom.geometry.SphericalEllipse.getBoundingCircle | ( | self | ) |
Returns a bounding circle for this spherical ellipse. This is a circle with the same center as this ellipse and with radius equal to the arcsine of the semi-major axis length.
Definition at line 998 of file geometry.py.
def lsst.geom.geometry.SphericalEllipse.getCenter | ( | self | ) |
Returns an (ra, dec) 2-tuple of floats corresponding to the center of this ellipse.
Definition at line 1019 of file geometry.py.
def lsst.geom.geometry.SphericalEllipse.getInnerCircle | ( | self | ) |
Returns the circle of maximum radius having the same center as this ellipse and which is completely contained in the ellipse.
Definition at line 1009 of file geometry.py.
def lsst.geom.geometry.SphericalEllipse.getMajorAxisAngle | ( | self | ) |
Return the major axis angle (east of north, in degrees) for this ellipse.
Definition at line 1025 of file geometry.py.
def lsst.geom.geometry.SphericalEllipse.getSemiMajorAxisLength | ( | self | ) |
Returns the semi-major axis length of this ellipse. Units are in arcsec since ellipses are typically small.
Definition at line 1031 of file geometry.py.
def lsst.geom.geometry.SphericalEllipse.getSemiMinorAxisLength | ( | self | ) |
Returns the semi-minor axis length of this ellipse. Units are in arcsec since ellipses are typically small.
Definition at line 1037 of file geometry.py.
def lsst.geom.geometry.SphericalEllipse.intersects | ( | self, | |
pointOrRegion | |||
) |
Returns True if the specified point or spherical region intersects this ellipse. The implementation is conservative in the sense that True may be returned for a region that does not intersect this ellipse.
Definition at line 1077 of file geometry.py.
lsst.geom.geometry.SphericalEllipse.boundingCircle |
Definition at line 978 of file geometry.py.
lsst.geom.geometry.SphericalEllipse.center |
Definition at line 971 of file geometry.py.
lsst.geom.geometry.SphericalEllipse.innerCircle |
Definition at line 979 of file geometry.py.
lsst.geom.geometry.SphericalEllipse.majorAxisAngle |
Definition at line 977 of file geometry.py.
lsst.geom.geometry.SphericalEllipse.semiMajorAxisLength |
Definition at line 972 of file geometry.py.
lsst.geom.geometry.SphericalEllipse.semiMinorAxisLength |
Definition at line 973 of file geometry.py.