g4tools  5.4.0
Namespaces | Macros | Functions
geom2 File Reference
#include <vector>
#include <cstddef>
Include dependency graph for geom2:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 tools
 inlined C code : ///////////////////////////////////
 

Macros

#define tools_geom2
 

Functions

template<class VEC2 >
double tools::is_left (const VEC2 &P0, const VEC2 &P1, const VEC2 &P2)
 
template<class VEC2 >
bool tools::is_inside (const VEC2 &a_P, const std::vector< VEC2 > &a_V)
 
template<class T >
double tools::is_left (const std::pair< T, T > &P0, const std::pair< T, T > &P1, const std::pair< T, T > &P2)
 
template<class T >
bool tools::inside (const std::pair< T, T > &a_P, const std::vector< std::pair< T, T > > &a_V)
 
template<class VEC2 >
bool tools::intersect (const VEC2 &P1, const VEC2 &Q1, const VEC2 &P2, const VEC2 &Q2, VEC2 &a_out)
 

Macro Definition Documentation

◆ tools_geom2

#define tools_geom2

Definition at line 5 of file geom2.