Struct RecordProxy

Struct Documentation

struct RecordProxy

A wrapper around a SimpleRecord or SourceRecord that allows us to record a pixel position in a way that is independent of the record type.

Public Functions

PTR(afw::table::SimpleRecord)
double getX() const
double getY() const
operator PTR() lsst::meas::astrom::RecordProxy::afw::table::SimpleRecord() const

Support implicit conversion to SimpleRecord (discarding the pixel position)

bool operator==(RecordProxy const &other) const
bool operator!=(RecordProxy const &other) const
lsst::meas::astrom::RecordProxy::RecordProxy(PTR( afw::table::SimpleRecord ) record, geom::Point2D const & position)

Construct a RecordProxy

Parameters
  • [in] record: the record to wrap

  • [in] position: pixel position; this is likely to be an initial guess while fitting a WCS

RecordProxy()

Public Members

geom::Point2D position
bool used