GOAT (Geometrical optics application tool) 0.1
Loading...
Searching...
No Matches
triangle.h File Reference
#include "vector.h"
#include "matrix.h"

Go to the source code of this file.

Classes

class  GOAT::raytracing::triangle
 This class describes a triangle, represented by its corner points. It is intented for internal purposes. The triangle class is mainly used in class surface. More...

Namespaces

namespace  GOAT
 This class is used for the iray class. This class is intended for internal use only. It defines a plane, defined by a central position and two directional vectors.
namespace  GOAT::raytracing
 Raytracer used for ultrashort pulse calculation with raytracing only.

Functions

std::ostream & GOAT::raytracing::operator<< (std::ostream &os, const triangle &dr)
Operators on triangle
triangle GOAT::raytracing::operator* (const maths::Matrix< double > &M, const triangle &dr)
 multiply matrix M to every corner of triangle dr
triangle GOAT::raytracing::operator* (const triangle &dr, double a)
 multiply the corners of the triangle dr with the scalar a
triangle GOAT::raytracing::operator* (double a, const triangle &dr)
 multiply the corners of the triangle dr with the scalar a
triangle GOAT::raytracing::operator+ (const maths::Vector< double > &v, const triangle &dr)
 add vector v to the corners of the triangle dr
triangle GOAT::raytracing::operator+ (const triangle &dr, const maths::Vector< double > &v)
 add vector v to the corners of the triangle dr
triangle GOAT::raytracing::operator- (const maths::Vector< double > &v, const triangle &dr)
 subtract vector v from the corners of the triangle dr
triangle GOAT::raytracing::operator- (const triangle &dr, const maths::Vector< double > &v)
 subtract vector v from the corners of the triangle dr
triangle GOAT::raytracing::operator/ (const triangle &dr, double a)
 divide the corners of the triangle dr by the scalar a