Octant.h
/**********************************************************************
*
* GEOS - Geometry Engine Open Source
* http://geos.osgeo.org
*
* Copyright (C) 2006 Refractions Research Inc.
*
* This is free software; you can redistribute and/or modify it under
* the terms of the GNU Lesser General Public Licence as published
* by the Free Software Foundation.
* See the COPYING file for more information.
*
**********************************************************************/
#pragma once
#include <geos/export.h>
#include <geos/util.h>
// Forward declarations
namespace geos {
namespace geom {
class CoordinateXY;
}
}
namespace geos {
namespace noding { // geos.noding
class GEOS_DLL Octant {
private:
Octant() {} // Can't instantiate it
public:
static int octant(double dx, double dy);
static int octant(const geom::CoordinateXY& p0, const geom::CoordinateXY& p1);
static int
octant(const geom::CoordinateXY* p0, const geom::CoordinateXY* p1)
{
::geos::ignore_unused_variable_warning(p0);
return octant(*p0, *p1);
}
};
} // namespace geos.noding
} // namespace geos
geos::noding::Octant::octant
static int octant(double dx, double dy)
geos::noding::Octant::octant
static int octant(const geom::CoordinateXY &p0, const geom::CoordinateXY &p1)
geos::geom
Definition Angle.h:26
geos::noding
Classes to compute nodings for arrangements of line segments and line segment sequences.
Definition CoverageCleaner.h:42
geos
Basic namespace for all GEOS functionalities.
Definition geos.h:38