Skip to content

Commit

Permalink
Add documentation to Footprints
Browse files Browse the repository at this point in the history
Add doxygen documentation to the constructors for the Footprint
object.
  • Loading branch information
natelust committed May 15, 2017
1 parent 739cd87 commit 4f25e2e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions include/lsst/afw/detection/Footprint.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,30 @@ class Footprint : public lsst::daf::base::Citizen,
* that to construct the Footprint.
*/

/** @brief Constructor for Footprint object
*
* @param inputSpans Shared pointer to a SpanSet defining the pixels included in
the Footprint.
* @param region Bounding box of the image in which the Footprint was created,
defaults to empty box.
*/
explicit Footprint(std::shared_ptr<geom::SpanSet> inputSpans,
geom::Box2I const & region=geom::Box2I());

/** @brief Constructor for the Footprint object
*
* @param inputSpans Shared pointer to a SpanSet defining the pixels included in
the Footprint.
* @param peakSchema schema to be used in the PeakCatalog
* @param region Bounding box of the image in which the Footprint was created,
defaults to empty box.
*/
explicit Footprint(std::shared_ptr<geom::SpanSet> inputSpans,
afw::table::Schema const & peakSchema,
geom::Box2I const & region=geom::Box2I());

/** @brief Constructor of a empty Footprint object
*/
explicit Footprint(): lsst::daf::base::Citizen(typeid(this)),
_spans(std::make_shared<geom::SpanSet>()),
_peaks(PeakTable::makeMinimalSchema()),
Expand Down

0 comments on commit 4f25e2e

Please sign in to comment.