VGM Version 5.3
Loading...
Searching...
No Matches
transform.cxx File Reference
#include "BaseVGM/common/utilities.h"
#include "RootGM/common/Units.h"
#include "RootGM/common/transform.h"
#include "TGeoBBox.h"
#include "TGeoPatternFinder.h"
#include "TMath.h"
#include <float.h>
#include <iostream>
#include <math.h>

Go to the source code of this file.

Macros

#define EPSILON   0.000001
 
#define CROSS(dest, v1, v2)
 
#define DOT(v1, v2)
 
#define SUB(dest, v1, v2)
 

Macro Definition Documentation

◆ EPSILON

#define EPSILON   0.000001

Definition at line 227 of file transform.cxx.

◆ CROSS

#define CROSS ( dest,
v1,
v2 )
Value:
{ \
dest[0] = v1[1] * v2[2] - v1[2] * v2[1]; \
dest[1] = v1[2] * v2[0] - v1[0] * v2[2]; \
dest[2] = v1[0] * v2[1] - v1[1] * v2[0]; \
}

Definition at line 229 of file transform.cxx.

◆ DOT

#define DOT ( v1,
v2 )
Value:
(v1[0] * v2[0] + v1[1] * v2[1] + v1[2] * v2[2])

Definition at line 236 of file transform.cxx.

◆ SUB

#define SUB ( dest,
v1,
v2 )
Value:
{ \
dest[0] = v1[0] - v2[0]; \
dest[1] = v1[1] - v2[1]; \
dest[2] = v1[2] - v2[2]; \
}

Definition at line 238 of file transform.cxx.