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

Go to the source code of this file.

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

double GOAT::raytracing::max3 (double x, double y, double z)
double GOAT::raytracing::min3 (double x, double y, double z)
bool GOAT::raytracing::triangleAABBIntersection (const Box &B, const triangle &d)
int GOAT::raytracing::triBoxOverlap (const maths::Vector< double > boxcenter, const maths::Vector< double > boxhalfsize, const maths::Vector< double > triverts[3])
int GOAT::raytracing::triBoxOverlap (double boxcenter[3], double boxhalfsize[3], double triverts[3][3])