lsst.afw gba399f52f3+9b61cfce8e
Loading...
Searching...
No Matches
lsst::afw::geom::polygon Namespace Reference

Classes

class  Polygon
 Cartesian polygons. More...

Functions

 LSST_EXCEPTION_TYPE (SinglePolygonException, lsst::pex::exceptions::RuntimeError, lsst::afw::geom::polygon::SinglePolygonException)
 An exception that indicates the single-polygon assumption has been violated.
DOXYGEN_IGNORE std::ostream & operator<< (std::ostream &os, Polygon const &poly)
 Stream polygon.
std::ostream & operator<< (std::ostream &os, std::vector< LsstPoint > const &vertices)
std::ostream & operator<< (std::ostream &os, BoostPolygon const &poly)

Function Documentation

◆ LSST_EXCEPTION_TYPE()

lsst::afw::geom::polygon::LSST_EXCEPTION_TYPE ( SinglePolygonException ,
lsst::pex::exceptions::RuntimeError ,
lsst::afw::geom::polygon::SinglePolygonException  )

An exception that indicates the single-polygon assumption has been violated.

The single-polygon assumption is used in Polygon::intersectionSingle and Polygon::unionSingle.

◆ operator<<() [1/3]

std::ostream & lsst::afw::geom::polygon::operator<< ( std::ostream & os,
BoostPolygon const & poly )

Definition at line 172 of file Polygon.cc.

◆ operator<<() [2/3]

std::ostream & lsst::afw::geom::polygon::operator<< ( std::ostream & os,
Polygon const & poly )

Stream polygon.

Definition at line 176 of file Polygon.cc.

◆ operator<<() [3/3]

std::ostream & lsst::afw::geom::polygon::operator<< ( std::ostream & os,
std::vector< LsstPoint > const & vertices )

Definition at line 161 of file Polygon.cc.