25#ifndef LSST_JOINTCAL_STAR_LIST_H
26#define LSST_JOINTCAL_STAR_LIST_H
73 for (
auto &p : *
this) p->print(out);
97 template <
class Operator>
99 for (
auto &p : *
this)
op.transformStar(*(p));
rectangle with sides parallel to axes.
void extractInFrame(StarList< Star > &out, const Frame &frame) const
copy the part of the std::list which is included in the frame at the end of another std::list
void print(std::ostream &out) const
invokes print(stream) for all Stars in the std::list.
void applyTransform(const Operator &op)
enables to apply a geometrical transform if Star is Basestar or derives from it.
void cutTail(int nKeep)
cuts the end of the std::list
StarList()=default
: default constructor (empty std::list).
virtual ~StarList()=default
typename std::list< Element >::const_iterator StarCIterator
void copyTo(StarList< Star > ©) const
clears copy and makes a copy of the std::list to copy
void fluxSort()
a model routine to sort the std::list
void clearList()
Clears the std::list.
typename std::list< Element >::iterator StarIterator
std::ostream & operator<<(std::ostream &stream, AstrometryMapping const &mapping)