LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
lar::util::simple_geo::Point3D< Data > Struct Template Reference

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

#include "geo_vectors_utils.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 43 of file geo_vectors_utils.h.

Member Typedef Documentation

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

Definition at line 96 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 102 of file SimpleGeo.h.

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

Definition at line 103 of file SimpleGeo.h.

103 : x(p[0]), y(p[1]), z(p[2]) {}

Member Data Documentation


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