Class StarMatch¶
Defined in File StarMatch.h
Class Documentation¶
-
class
StarMatch
¶ A hanger for star associations.
Public Functions
constructor.
gives 2 points (that contain the geometry), plus pointers to the Star objects (which are there for user convenience).
-
double
computeDistance
(const AstrometryTransform &transform) const¶ returns the distance from transform(point1) to point2.
-
double
computeChi2
(const AstrometryTransform &transform) const¶ returns the chi2 (using errors in the FatPoint’s)
-
void
setDistance
(const AstrometryTransform &transform)¶ to be used before sorting on distances.
-
double
getDistance
() const¶ returns the value computed by the above one.
-
void
swap
()¶
-
StarMatch
()¶
-
~StarMatch
()¶
Public Members
-
FatPoint
point2
¶ the Star pointers (the pointer is in fact generic, pointed data is never used).
2 points
-
double
distance
¶
-
double
chi2
¶
Friends
-
std::ostream &
operator<<
(std::ostream &stream, const StarMatch &Match)¶