Open
Graph Drawing
Framework

 v.2010.10
 

Classes | Namespaces | Defines | Enumerations | Functions

geometry.h File Reference

Declaration of classes DPoint, DPolyline, DLine, DRect, DScaler. More...

#include <float.h>
#include <math.h>
#include <ogdf/basic/List.h>
#include <ogdf/basic/Hashing.h>

Go to the source code of this file.

Classes

class  ogdf::GenericPoint< NUMBER >
 Parameterized base class for points. More...
class  ogdf::IPoint
 Integer points. More...
class  ogdf::DefHashFunc< IPoint >
class  ogdf::IPolyline
 Polylines with integer coordinates. More...
class  ogdf::DPoint
 Real points. More...
class  ogdf::DVector
 Vectos with real coordinates. More...
class  ogdf::DPolyline
 Polylines with real coordinates. More...
class  ogdf::DLine
 Lines with real coordinates. More...
class  ogdf::DRect
 Rectangles with real coordinates. More...
class  ogdf::DScaler
 Scaling between coordinate systems. More...
class  ogdf::DSegment
 Line segments with real coordinates. More...
class  ogdf::DPolygon
 Polygons with real coordinates. More...

Namespaces

namespace  ogdf
 

The namespace for all OGDF objects.


Defines

#define GEOMETRIC_CMP_EPS   1e-06

Enumerations

enum  ogdf::Orientation { ogdf::topToBottom, ogdf::bottomToTop, ogdf::leftToRight, ogdf::rightToLeft }
 

Determines the orientation in hierarchical layouts.

More...

Functions

bool ogdf::DIsEqual (const double &a, const double &b, const double eps=1e-06)
bool ogdf::DIsGreaterEqual (const double &a, const double &b, const double eps=1e-06)
bool ogdf::DIsGreater (const double &a, const double &b, const double eps=1e-06)
bool ogdf::DIsLessEqual (const double &a, const double &b, const double eps=1e-06)
bool ogdf::DIsLess (const double &a, const double &b, const double eps=1e-06)
double ogdf::DRound (const double &d, int prec=0)
ostream & ogdf::operator<< (ostream &os, const IPoint &ip)
 Output operator for integer points.
ostream & ogdf::operator<< (ostream &os, const DPoint &dp)
 Output operator for real points.
ostream & ogdf::operator<< (ostream &os, const DLine &dl)
 Output operator for lines.
ostream & ogdf::operator<< (ostream &os, const DRect &dr)
 Output operator for rectangles.
ostream & ogdf::operator<< (ostream &os, const DScaler &ds)
 Output operator for scalers.
ostream & ogdf::operator<< (ostream &os, const DPolygon &dop)
 Output operator for polygons.

Detailed Description

Declaration of classes DPoint, DPolyline, DLine, DRect, DScaler.

Author:
Joachim Kupke
License:
This file is part of the Open Graph Drawing Framework (OGDF).

Copyright (C). All rights reserved. See README.txt in the root directory of the OGDF installation for details.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License Version 2 or 3 as published by the Free Software Foundation and appearing in the files LICENSE_GPL_v2.txt and LICENSE_GPL_v3.txt included in the packaging of this file.
In addition, as a special exception, you have permission to link this software with the libraries of the COIN-OR Osi project (http://www.coin-or.org/projects/Osi.xml), all libraries required by Osi, and all LP-solver libraries directly supported by the COIN-OR Osi project, and distribute executables, as long as you follow the requirements of the GNU General Public License in regard to all of the software in the executable aside from these third-party libraries.
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.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
See also:
http://www.gnu.org/copyleft/gpl.html

Definition in file geometry.h.


Define Documentation

#define GEOMETRIC_CMP_EPS   1e-06

Definition at line 65 of file geometry.h.