My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::util::PtSrcTiler::Field Struct Reference

Public Member Functions

 Field (HourAngle ra, Declination dec, Angle radius)
 
 Field (const Field &field)
 
std::vector< FieldaddNeighbors (std::vector< Field > &fields, HourAngle &ra0, Declination &dec0, Angle &min)
 
void addNeighbor (unsigned index, Field *field)
 
Angle distance (HourAngle ra, Declination dec)
 

Public Attributes

HourAngle ra_
 
Declination dec_
 
std::vector< Field * > neighbors_
 
Angle radius_
 

Member Function Documentation

void PtSrcTiler::Field::addNeighbor ( unsigned  index,
Field fld 
)

....................................................................... Allow a field to add itself as our neighbor.

std::vector< PtSrcTiler::Field > PtSrcTiler::Field::addNeighbors ( std::vector< Field > &  fields,
HourAngle ra0,
Declination dec0,
Angle min 
)

....................................................................... For the current field, add all nearest neighbors in a hex pattern

Angle PtSrcTiler::Field::distance ( HourAngle  ra,
Declination  dec 
)

....................................................................... Return the distance of this field from the given ra/dec


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