Functions
test_ray.cxx File Reference
#include "WireCellUtil/Point.h"
#include "WireCellUtil/Testing.h"
#include "WireCellUtil/Logging.h"

Go to the source code of this file.

Functions

int main ()
 

Function Documentation

int main ( void  )

Definition at line 8 of file test_ray.cxx.

9 {
10 
11  const Ray r1(Point(-1,-1,-1), Point(1,1,1));
12  const Ray r2(Point(0,0,0), Point(1,1,1));
13  info("Some rays: {}, {}", r1, r2);
14 
15  const Ray& rr1 = r1;
16  const Ray& rr2 = r2;
17  info("Some ray refs: {}, {}", rr1, rr2);
18 }
std::pair< Point, Point > Ray
A line segment running from a first (tail) to a second (head) point.
Definition: Point.h:21
std::tuple< double, double, const reco::ClusterHit3D * > Point
Definitions used by the VoronoiDiagram algorithm.
Definition: DCEL.h:34