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 | getInnerCircle |
def | getCenter |
def | getMajorAxisAngle |
def | getSemiMajorAxisLength |
def | getSemiMinorAxisLength |
def | contains |
def | intersects |
def | __repr__ |
def | __eq__ |
Public Attributes | |
center | |
semiMajorAxisLength | |
semiMinorAxisLength | |
majorAxisAngle | |
boundingCircle | |
innerCircle | |
Private Member Functions | |
def | _containsPoint |
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 931 of file geometry.py.
def lsst.geom.geometry.SphericalEllipse.__init__ | ( | self, | |
center, | |||
semiMajorAxisLength, | |||
semiMinorAxisLength, | |||
majorAxisAngle | |||
) |
Definition at line 938 of file geometry.py.
def lsst.geom.geometry.SphericalEllipse.__eq__ | ( | self, | |
other | |||
) |
Definition at line 1066 of file geometry.py.
def lsst.geom.geometry.SphericalEllipse.__repr__ | ( | self | ) |
Returns a string representation of this ellipse.
Definition at line 1057 of file geometry.py.
|
private |
Definition at line 1011 of file geometry.py.
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 1033 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 959 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 966 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 987 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 977 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 993 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 999 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 1005 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 1045 of file geometry.py.
lsst.geom.geometry.SphericalEllipse.boundingCircle |
Definition at line 946 of file geometry.py.
lsst.geom.geometry.SphericalEllipse.center |
Definition at line 939 of file geometry.py.
lsst.geom.geometry.SphericalEllipse.innerCircle |
Definition at line 947 of file geometry.py.
lsst.geom.geometry.SphericalEllipse.majorAxisAngle |
Definition at line 945 of file geometry.py.
lsst.geom.geometry.SphericalEllipse.semiMajorAxisLength |
Definition at line 940 of file geometry.py.
lsst.geom.geometry.SphericalEllipse.semiMinorAxisLength |
Definition at line 941 of file geometry.py.