Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GeoPrimitives.H File Reference

Geometric Primitives interface. More...

#include <cmath>
#include <istream>
#include <ostream>
#include <vector>
#include <cassert>
Include dependency graph for GeoPrimitives.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CPoint
 
class  CVector
 
class  C3Vector
 /brief Cartesian 3 Vector More...
 
class  CLine
 
class  CLineSegment
 
class  CBox
 
class  CPlane
 
class  C3Plane
 
class  CFacet
 
class  C3Facet
 

Namespaces

 GeoPrim
 

Typedefs

typedef C3Vector C3Point
 

Functions

template<typename PointContainer >
C3Point C3Centroid (const PointContainer &pc)
 
template<typename PointContainer >
CPoint Centroid (const PointContainer &pc)
 
void Transpose (CVector matrix[])
 
void Transpose_2x3 (CVector matrix[], double tpose[][2])
 
double Distance (const CPoint &p, const CLine &l)
 

Variables

const double TOL = 1e-16
 
const double PI = 4.0*atan(1.0)
 

Detailed Description

Geometric Primitives interface.

Definition in file GeoPrimitives.H.