Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
wire-cell-build
util
test
test_ray.cxx
Go to the documentation of this file.
1
#include "
WireCellUtil/Point.h
"
2
#include "
WireCellUtil/Testing.h
"
3
#include "
WireCellUtil/Logging.h
"
4
5
using namespace
WireCell
;
6
using
spdlog::info
;
7
8
int
main
()
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
}
WireCell::Ray
std::pair< Point, Point > Ray
A line segment running from a first (tail) to a second (head) point.
Definition:
Point.h:21
spdlog::info
void info(const char *fmt, const Args &...args)
Definition:
spdlog.h:189
WireCell::Point
D3Vector< double > Point
A 3D Cartesian point in double precision.
Definition:
Point.h:15
Logging.h
Point.h
generate_datataset.info
info
Definition:
generate_datataset.py:142
Testing.h
main
int main()
Definition:
test_ray.cxx:8
WireCell
Definition:
Main.h:22
Generated by
1.8.11