#include "defs.h"
#include "tError.h"
#include <iterator>
#include <algorithm>
#include <map>
#include <vector>
Go to the source code of this file.
Classes | |
class | tCoord |
Stores any kind of x and y coordinates. More... | |
class | tCoord::GrahamComparator |
Functions | |
REAL | se_EstimatedRangeOfMult (const tCoord &a, const tCoord &b) |
REAL | st_GetDifference (const tCoord &a, const tCoord &b) |
returns a measure for the equality of two coords | |
std::ostream & | operator<< (std::ostream &s, const tCoord &c) |
std::istream & | operator>> (std::istream &s, tCoord &c) |
tCoord | operator * (REAL a, tCoord const &c) |
stretches a coordinate by a factor from the center | |
Variables | |
const tCoord | se_zeroCoord |
? |
std::ostream& operator<< | ( | std::ostream & | s, | |
const tCoord & | c | |||
) | [inline] |
s | the stream for the coordinate to be inserted into | |
c | the coordinate to be inserted |
Definition at line 143 of file tCoord.h.
References tCoord::Print().
00143 { 00144 c.Print(s); 00145 return s; 00146 }
std::istream& operator>> | ( | std::istream & | s, | |
tCoord & | c | |||
) | [inline] |
s | the stream for the coordinate to be read from | |
c | the coordinate to be read |
Definition at line 151 of file tCoord.h.
References tCoord::Read().
00151 { 00152 c.Read(s); 00153 return s; 00154 }
handy function used to decide whether a*b is small enough to consider a and b lineary dependant (criterium: |a*b|<EPS*estim....)
Referenced by eGrid::DrawLine(), eHalfEdge::IntersectWithCareless(), eGameObject::Move(), tCoord::operator==(), and se_SanifyDisplacement().
returns a measure for the equality of two coords
Referenced by tRecorderSync< DATA >::Archive(), and tRecorderSync< DATA >::GetDifference().
const tCoord se_zeroCoord |