lsst.geom  12.1+32
 All Classes Functions
Public Member Functions | Public Attributes | List of all members
lsst.geom.geometry.SphericalCircle Class Reference
Inheritance diagram for lsst.geom.geometry.SphericalCircle:
lsst.geom.geometry.SphericalRegion

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__
 
def __hash__
 

Public Attributes

 center
 
 radius
 
 boundingBox
 

Detailed Description

A circle on the unit sphere. Points falling exactly on the
circle are considered to be inside (contained by) the circle.

Constructor & Destructor Documentation

def lsst.geom.geometry.SphericalCircle.__init__ (   self,
  center,
  radius 
)
Creates a new spherical circle with the given center and radius.

Member Function Documentation

def lsst.geom.geometry.SphericalCircle.__repr__ (   self)
Returns a string representation of this circle.
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.
def lsst.geom.geometry.SphericalCircle.getBoundingBox (   self)
Returns a bounding box for this spherical circle.
def lsst.geom.geometry.SphericalCircle.getCenter (   self)
Returns an (ra, dec) 2-tuple of floats corresponding to the
center of this circle.
def lsst.geom.geometry.SphericalCircle.getRadius (   self)
Returns the radius (degrees) of this circle.
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.
def lsst.geom.geometry.SphericalCircle.isEmpty (   self)
Returns True if this circle contains no points.
def lsst.geom.geometry.SphericalCircle.isFull (   self)
Returns True if this spherical box contains every point
on the unit sphere.

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