All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
lar::util::simple_geo::Point3D< Data > Struct Template Reference

3D point (x, y, z) (by default, with double precision) More...

#include <SimpleGeo.h>

Public Types

using Data_t = Data
 

Public Member Functions

 Point3D ()=default
 
 Point3D (Data_t x, Data_t y, Data_t z)
 
 Point3D (Data_t const *p)
 

Public Attributes

Data_t x = 0.
 
Data_t y = 0.
 
Data_t z = 0.
 

Detailed Description

template<typename Data = double>
struct lar::util::simple_geo::Point3D< Data >

3D point (x, y, z) (by default, with double precision)

Definition at line 85 of file SimpleGeo.h.

Member Typedef Documentation

template<typename Data = double>
using lar::util::simple_geo::Point3D< Data >::Data_t = Data

Definition at line 86 of file SimpleGeo.h.

Constructor & Destructor Documentation

template<typename Data = double>
lar::util::simple_geo::Point3D< Data >::Point3D ( )
default
template<typename Data = double>
lar::util::simple_geo::Point3D< Data >::Point3D ( Data_t  x,
Data_t  y,
Data_t  z 
)
inline

Definition at line 92 of file SimpleGeo.h.

template<typename Data = double>
lar::util::simple_geo::Point3D< Data >::Point3D ( Data_t const *  p)
inline

Definition at line 93 of file SimpleGeo.h.

93 : x(p[0]), y(p[1]), z(p[2]) {}
pdgs p
Definition: selectors.fcl:22

Member Data Documentation

template<typename Data = double>
Data_t lar::util::simple_geo::Point3D< Data >::x = 0.

Definition at line 87 of file SimpleGeo.h.

template<typename Data = double>
Data_t lar::util::simple_geo::Point3D< Data >::y = 0.

Definition at line 88 of file SimpleGeo.h.

template<typename Data = double>
Data_t lar::util::simple_geo::Point3D< Data >::z = 0.

Definition at line 89 of file SimpleGeo.h.


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