Flow123d  release_2.2.0-914-gf1a3a4f
Classes | Enumerations | Functions | Variables
intersection_point_aux.hh File Reference

Internal class representing intersection point. More...

#include <armadillo>
#include "mesh/mesh_types.hh"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IntersectionPointAux< N, M >
 Internal auxiliary class represents an intersection point of simplex<N> and simplex<M>. More...
 
class  IntersectionPointAux< N, M >
 Internal auxiliary class represents an intersection point of simplex<N> and simplex<M>. More...
 

Enumerations

enum  IntersectionResult { IntersectionResult::positive = 1, IntersectionResult::negative = 0, IntersectionResult::degenerate = 2, IntersectionResult::none = 3 }
 

Functions

template<unsigned int N, unsigned int M>
std::ostream & operator<< (std::ostream &os, const IntersectionPointAux< N, M > &IP)
 
bool operator< (IntersectionResult a, IntersectionResult b)
 

Variables

static const double geometry_epsilon = 1e-9
 
static const double rounding_epsilon = geometry_epsilon
 
static const double rounding_epsilonX = 8*std::numeric_limits<double>::epsilon()
 

Detailed Description

Internal class representing intersection point.

* 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.

Author
Viktor Fris, Pavel Exner

Definition in file intersection_point_aux.hh.

Enumeration Type Documentation

enum IntersectionResult
strong
Enumerator
positive 
negative 
degenerate 
none 

Definition at line 39 of file intersection_point_aux.hh.

Function Documentation

bool operator< ( IntersectionResult  a,
IntersectionResult  b 
)
inline

Definition at line 46 of file intersection_point_aux.hh.

Here is the caller graph for this function:

template<unsigned int N, unsigned int M>
std::ostream& operator<< ( std::ostream &  os,
const IntersectionPointAux< N, M > &  IP 
)

Friend output operator.

Definition at line 129 of file intersection_point_aux.cc.

Variable Documentation

const double geometry_epsilon = 1e-9
static

Definition at line 28 of file intersection_point_aux.hh.

const double rounding_epsilon = geometry_epsilon
static

Definition at line 31 of file intersection_point_aux.hh.

const double rounding_epsilonX = 8*std::numeric_limits<double>::epsilon()
static

Definition at line 32 of file intersection_point_aux.hh.