LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
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: