Functions
RayTiling.cxx File Reference
#include "WireCellUtil/RayTiling.h"
#include "WireCellUtil/Logging.h"
#include <algorithm>
#include <sstream>

Go to the source code of this file.

Functions

static crossings_t find_corners (const Strip &one, const Strip &two)
 

Function Documentation

static crossings_t find_corners ( const Strip one,
const Strip two 
)
static

Definition at line 130 of file RayTiling.cxx.

131 {
132  crossings_t ret;
133 
134  const auto a = one.addresses(), b = two.addresses();
135 
136  ret.push_back(std::make_pair(a.first, b.first));
137  ret.push_back(std::make_pair(a.first, b.second));
138  ret.push_back(std::make_pair(a.second, b.first));
139  ret.push_back(std::make_pair(a.second, b.second));
140  return ret;
141 }
std::vector< crossing_t > crossings_t
Definition: RayGrid.h:62
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition: pointer.h:1124
static bool * b
Definition: config.cpp:1043
crossing_t addresses() const
Definition: RayTiling.h:29