Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TGeoVector3.h File Reference
#include <Riostream.h>
#include <TMath.h>
Include dependency graph for TGeoVector3.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  ROOT::Geom::Vertex_t
 

Namespaces

namespace  ROOT
 This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
 
namespace  ROOT::Geom
 

Macros

#define Vertex_t_BINARY_OP(OPERATOR, INPLACE)
 
#define Vertex_t_INPLACE_BINARY_OP(OPERATOR)
 

Functions

bool ROOT::Geom::operator!= (Vertex_t const &lhs, Vertex_t const &rhs)
 
Vertex_t ROOT::Geom::operator* (const double lhs, Vertex_t const &rhs)
 
Vertex_t ROOT::Geom::operator* (const Vertex_t &lhs, const Vertex_t &rhs)
 
Vertex_t ROOT::Geom::operator* (Vertex_t const &lhs, const double rhs)
 
Vertex_t ROOT::Geom::operator+ (const double lhs, Vertex_t const &rhs)
 
Vertex_t ROOT::Geom::operator+ (const Vertex_t &lhs, const Vertex_t &rhs)
 
Vertex_t ROOT::Geom::operator+ (Vertex_t const &lhs, const double rhs)
 
Vertex_t ROOT::Geom::operator- (const double lhs, Vertex_t const &rhs)
 
Vertex_t ROOT::Geom::operator- (const Vertex_t &lhs, const Vertex_t &rhs)
 
Vertex_t ROOT::Geom::operator- (Vertex_t const &lhs, const double rhs)
 
Vertex_t ROOT::Geom::operator/ (const double lhs, Vertex_t const &rhs)
 
Vertex_t ROOT::Geom::operator/ (const Vertex_t &lhs, const Vertex_t &rhs)
 
Vertex_t ROOT::Geom::operator/ (Vertex_t const &lhs, const double rhs)
 
std::ostream & operator<< (std::ostream &os, ROOT::Geom::Vertex_t const &vec)
 
bool ROOT::Geom::operator== (Vertex_t const &lhs, Vertex_t const &rhs)
 

Macro Definition Documentation

◆ Vertex_t_BINARY_OP

#define Vertex_t_BINARY_OP (   OPERATOR,
  INPLACE 
)
Value:
inline Vertex_t operator OPERATOR(const Vertex_t &lhs, const Vertex_t &rhs) \
{ \
Vertex_t result(lhs); \
result INPLACE rhs; \
return result; \
} \
inline Vertex_t operator OPERATOR(Vertex_t const &lhs, const double rhs) \
{ \
Vertex_t result(lhs); \
result INPLACE rhs; \
return result; \
} \
inline Vertex_t operator OPERATOR(const double lhs, Vertex_t const &rhs) \
{ \
Vertex_t result(lhs); \
result INPLACE rhs; \
return result; \
}
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t result

Definition at line 169 of file TGeoVector3.h.

◆ Vertex_t_INPLACE_BINARY_OP

#define Vertex_t_INPLACE_BINARY_OP (   OPERATOR)
Value:
inline Vertex_t &operator OPERATOR(const Vertex_t &other) \
{ \
fVec[0] OPERATOR other.fVec[0]; \
fVec[1] OPERATOR other.fVec[1]; \
fVec[2] OPERATOR other.fVec[2]; \
return *this; \
} \
inline Vertex_t &operator OPERATOR(const double &scalar) \
{ \
fVec[0] OPERATOR scalar; \
fVec[1] OPERATOR scalar; \
fVec[2] OPERATOR scalar; \
return *this; \
}

Definition at line 43 of file TGeoVector3.h.

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  os,
ROOT::Geom::Vertex_t const &  vec 
)

Definition at line 19 of file TGeoVector3.cxx.