Flow123d  release_2.2.0-23-g01927c6
Functions
intersection.cpp File Reference
#include "system/exc_common.hh"
#include "mesh/ngh/include/intersection.h"
#include "mesh/ngh/include/intersectionLocal.h"
#include "mesh/ngh/include/matrix.h"
#include "mesh/ngh/include/mathfce.h"
#include <cmath>
#include <iostream>
#include <armadillo>
#include "mesh/ngh/include/polygon.h"

Go to the source code of this file.

Functions

void GetIntersection (const TBisector &B1, const TBisector &B2, TPosition &pos, double &t1, double &t2)
 
void GetIntersection (const TAbscissa &A1, const TAbscissa &A2, IntersectionLocal *&insec)
 
void GetIntersection (const TAbscissa &A, const TBisector &B, IntersectionLocal *&insec)
 
void GetIntersection (const TBisector &B, const TAbscissa &A, IntersectionLocal *&insec)
 
void GetIntersection (const TAbscissa &A1, const TAbscissa &A2, TPosition &pos, double &t1, double &t2)
 
void GetIntersection (const TAbscissa &A, const TBisector &B, TPosition &pos, double &t1, double &t2)
 
void GetIntersection (const TBisector &B, const TAbscissa &A, TPosition &pos, double &t2, double &t1)
 
double Distance (const TBisector &B, const TPoint &P)
 
double Distance (const TPlain &P, const TPoint &X)
 
double Distance (const TPoint &P1, const TPoint &P2)
 
void GetIntersection (const TPlain &P1, const TPlain &P2, TPosition &pos, TBisector *B)
 
void GetIntersection (const TPlain &P, const TBisector &B, TPosition &pos, double &t)
 
void GetIntersection (const TPlain &P, const TBisector &B, TPosition &pos, TPoint *Pt)
 
void GetIntersection (const TBisector &B, const TPlain &P, TPosition &pos, TPoint *Pt)
 
void GetIntersection (const TTriangle &T1, const TTriangle &T2, TIntersectionType &it, double &value)
 
void GetIntersection (const TBisector &B, const TTriangle &T, IntersectionLocal *&insec)
 
void GetIntersection (const TAbscissa &A, const TTriangle &T, IntersectionLocal *&insec)
 
void GetIntersection (const TAbscissa &A, const TTetrahedron &T, TIntersectionType &it, double &coef)
 
void GetIntersection (const TTriangle &Tr, const TTetrahedron &Te, TIntersectionType &it, double &coef)
 
template<class A , class B >
bool QuickIntersectionTest (const A &a, const B &b)
 

Detailed Description

 * Copyright (C) 2015 Technical University of Liberec. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Definition in file intersection.cpp.

Function Documentation

double Distance ( const TBisector B,
const TPoint P 
)

Definition at line 366 of file intersection.cpp.

Here is the caller graph for this function:

double Distance ( const TPlain P,
const TPoint X 
)

Definition at line 373 of file intersection.cpp.

double Distance ( const TPoint P1,
const TPoint P2 
)

Definition at line 380 of file intersection.cpp.

void GetIntersection ( const TBisector B1,
const TBisector B2,
TPosition pos,
double &  t1,
double &  t2 
)

Definition at line 32 of file intersection.cpp.

Here is the caller graph for this function:

void GetIntersection ( const TAbscissa A1,
const TAbscissa A2,
IntersectionLocal *&  insec 
)

Definition at line 143 of file intersection.cpp.

void GetIntersection ( const TAbscissa A,
const TBisector B,
IntersectionLocal *&  insec 
)

Definition at line 272 of file intersection.cpp.

void GetIntersection ( const TBisector B,
const TAbscissa A,
IntersectionLocal *&  insec 
)

Definition at line 334 of file intersection.cpp.

void GetIntersection ( const TAbscissa A1,
const TAbscissa A2,
TPosition pos,
double &  t1,
double &  t2 
)

Definition at line 339 of file intersection.cpp.

void GetIntersection ( const TAbscissa A,
const TBisector B,
TPosition pos,
double &  t1,
double &  t2 
)

Definition at line 350 of file intersection.cpp.

void GetIntersection ( const TBisector B,
const TAbscissa A,
TPosition pos,
double &  t2,
double &  t1 
)

Definition at line 360 of file intersection.cpp.

void GetIntersection ( const TPlain P1,
const TPlain P2,
TPosition pos,
TBisector B 
)

Definition at line 387 of file intersection.cpp.

void GetIntersection ( const TPlain P,
const TBisector B,
TPosition pos,
double &  t 
)

Definition at line 462 of file intersection.cpp.

void GetIntersection ( const TPlain P,
const TBisector B,
TPosition pos,
TPoint Pt 
)

Definition at line 499 of file intersection.cpp.

void GetIntersection ( const TBisector B,
const TPlain P,
TPosition pos,
TPoint Pt 
)

Definition at line 506 of file intersection.cpp.

void GetIntersection ( const TTriangle T1,
const TTriangle T2,
TIntersectionType it,
double &  value 
)

Definition at line 512 of file intersection.cpp.

void GetIntersection ( const TBisector B,
const TTriangle T,
IntersectionLocal *&  insec 
)

Definition at line 606 of file intersection.cpp.

void GetIntersection ( const TAbscissa A,
const TTriangle T,
IntersectionLocal *&  insec 
)

Definition at line 788 of file intersection.cpp.

void GetIntersection ( const TAbscissa A,
const TTetrahedron T,
TIntersectionType it,
double &  coef 
)

Definition at line 944 of file intersection.cpp.

void GetIntersection ( const TTriangle Tr,
const TTetrahedron Te,
TIntersectionType it,
double &  coef 
)

Definition at line 1024 of file intersection.cpp.

template<class A , class B >
bool QuickIntersectionTest ( const A &  a,
const B &  b 
)

Definition at line 1098 of file intersection.cpp.

Here is the caller graph for this function: