Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

geometry.h File Reference

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

#include <ogdf/basic/List.h>
#include <ogdf/basic/Hashing.h>
#include <ogdf/basic/Math.h>
#include <ogdf/basic/EpsilonTest.h>
#include <cfloat>

Go to the source code of this file.

Classes

class  ogdf::DefHashFunc< IPoint >
 
class  ogdf::DIntersectableRect
 Rectangles with real coordinates. More...
 
class  ogdf::DLine
 Lines with real coordinates. More...
 
class  ogdf::DPoint
 Real points. More...
 
class  ogdf::DPolygon
 Polygons with real coordinates. More...
 
class  ogdf::DPolyline
 Polylines 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::DVector
 Vectors with real coordinates. More...
 
class  ogdf::GenericPoint< NUMBER >
 Parameterized base class for points. More...
 
class  ogdf::IPoint
 Integer points. More...
 
class  ogdf::IPolyline
 Polylines with integer coordinates. More...
 

Namespaces

 ogdf
 The namespace for all OGDF objects.
 

Enumerations

enum  ogdf::Orientation { ogdf::Orientation::topToBottom, ogdf::Orientation::bottomToTop, ogdf::Orientation::leftToRight, ogdf::Orientation::rightToLeft }
 Determines the orientation in hierarchical layouts. More...
 

Functions

double ogdf::DRound (const double &d, int prec=0)
 
ostream & ogdf::operator<< (ostream &os, const IPoint &ip)
 Output operator for integer points. More...
 
ostream & ogdf::operator<< (ostream &os, const DPoint &dp)
 Output operator for real points. More...
 
ostream & ogdf::operator<< (ostream &os, const DLine &dl)
 Output operator for lines. More...
 
ostream & ogdf::operator<< (ostream &os, const DScaler &ds)
 Output operator for scalers. More...
 
ostream & ogdf::operator<< (ostream &os, const DPolygon &dop)
 Output operator for polygons. More...
 
int ogdf::orientation (const DPoint &p, const DPoint &q, const DPoint &r)
 
int ogdf::orientation (const DSegment &s, const DPoint &p)
 

Variables

const EpsilonTest ogdf::OGDF_GEOM_ET
 

Detailed Description

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

Author
Joachim Kupke, Rene Weiskircher, Ivo Hedtke
License:
This file is part of the Open Graph Drawing Framework (OGDF).
Copyright (C)
See README.md in the OGDF root directory 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; see the file LICENSE.txt included in the packaging of this file for details.
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, see http://www.gnu.org/copyleft/gpl.html

Definition in file geometry.h.