55 void rotate(
double dr,
double dtheta,
double dphi);
58 os <<
" P=" << E.
P << std::endl;
59 os <<
"n=" << E.
n << std::endl;
60 os <<
"e1=" << E.
e1 << std::endl;
61 os <<
"e2=" << E.
e2 << std::endl;
Template class for threedimensional vectors.
Plane(const maths::Vector< double > &P, const maths::Vector< double > &e1, const maths::Vector< double > &e2)
Constructor.
maths::Vector< double > e2
void binWrite(std::ofstream &os)
writes plane into the binary file stream os
double distance(maths::Vector< double > R)
distance between the point R and the plane
void norm()
normal of the plane
friend std::ostream & operator<<(std::ostream &os, Plane E)
void binRead(std::ifstream &is)
reads plane from binary file stream is
maths::Vector< double > e1
void rotate(double dr, double dtheta, double dphi)
void intersectSphere(maths::Vector< double > O, double r)
find intersection point with a sphere
maths::Vector< double > n
maths::Vector< double > P
This file contains the definition of a template for 3x3 matrices, which can be used together with the...
Raytracer used for ultrashort pulse calculation with raytracing only.
This class is used for the iray class. This class is intended for internal use only....
This file contains the Vector template class and some useful functions around this class.