LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Public Member Functions | Public Attributes | List of all members
lsst::meas.astrom::ProxyPair Struct Reference

#include <matchOptimisticB.h>

Public Member Functions

 ProxyPair (RecordProxy const &s1, RecordProxy const &s2)
 

Public Attributes

RecordProxy first
 
RecordProxy second
 
double distance
 
double pa
 

Detailed Description

Definition at line 64 of file matchOptimisticB.h.

Constructor & Destructor Documentation

lsst::meas.astrom::ProxyPair::ProxyPair ( RecordProxy const &  s1,
RecordProxy const &  s2 
)
inline

Definition at line 70 of file matchOptimisticB.h.

70  : first(s1), second(s2) {
71  double x1 = first.position.getX();
72  double y1 = first.position.getY();
73  double x2 = second.position.getX();
74  double y2 = second.position.getY();
75  distance = std::hypot(x2-x1, y2-y1);
76  pa = std::atan2(y2-y1, x2-x1);
77  }
lsst::afw::geom::Point2D position

Member Data Documentation

double lsst::meas.astrom::ProxyPair::distance

Definition at line 67 of file matchOptimisticB.h.

RecordProxy lsst::meas.astrom::ProxyPair::first

Definition at line 65 of file matchOptimisticB.h.

double lsst::meas.astrom::ProxyPair::pa

Definition at line 68 of file matchOptimisticB.h.

RecordProxy lsst::meas.astrom::ProxyPair::second

Definition at line 66 of file matchOptimisticB.h.


The documentation for this struct was generated from the following file: