Bentley-Otmann Algorithm 2.0
An implementation of Bentley-Ottmann algorithm in order to count the m,n-cubes
Functions
geometry.cpp File Reference

Implementation of the methods and functions declared in geometry.hpp. More...

#include "geometry.hpp"
Include dependency graph for geometry.cpp:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &begin, const Segment *&s)
 Pretty-printing for mpz_class.
std::ostream & operator<< (std::ostream &begin, const Point &p)
 Pretty-printing for Point.
std::ostream & operator<< (std::ostream &begin, const Event &e)
 Pretty-printing for Event.
std::ostream & operator<< (std::ostream &begin, const Segment &s)
 Pretty-printing for Segment.

Detailed Description

Implementation of the methods and functions declared in geometry.hpp.

Author:
Pierre Cagne
Date:
07/11/2011

Definition in file geometry.cpp.


Function Documentation

std::ostream& operator<< ( std::ostream &  begin,
const Segment *&  s 
)

Pretty-printing for mpz_class.

Parameters:
beginOstream
zInteger to print
Returns:
Ostream begin concatenated with the printing of z Pretty-printing for mpq_class
Parameters:
beginOstream
fRational to print
Returns:
Ostream begin concatenated with the printing of f Pointer version of the segment's pretty-printing

Definition at line 237 of file geometry.cpp.

std::ostream& operator<< ( std::ostream &  begin,
const Segment s 
)

Pretty-printing for Segment.

Parameters:
beginOstream
sSegment to print
Returns:
Ostream begin concatenated with the pretty-printing of s

Definition at line 272 of file geometry.cpp.

std::ostream& operator<< ( std::ostream &  begin,
const Event e 
)

Pretty-printing for Event.

Parameters:
beginOstream
eEvent to print
Returns:
Ostream begin concatenated with the pretty-printing of e

Definition at line 261 of file geometry.cpp.

std::ostream& operator<< ( std::ostream &  begin,
const Point p 
)

Pretty-printing for Point.

Parameters:
beginOstream
pPoint to print
Returns:
Ostream begin concatenated with the pretty-printing of p

Definition at line 248 of file geometry.cpp.

 All Classes Files Functions Variables Typedefs Enumerations