Location.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 <iostream> // for ostream
namespace geos {
namespace geom { // geos::geom
enum class Location : char {
NONE = (char)(-1), // Instead of NULL
INTERIOR = 0,
BOUNDARY = 1,
EXTERIOR = 2
};
GEOS_DLL std::ostream& operator<<(std::ostream& os, const Location& loc);
} // namespace geos::geom
} // namespace geos
geos::geom
Definition Angle.h:26
geos::geom::Location
Location
Constants representing the location of a point relative to a geometry.
Definition Location.h:32
geos::geom::Location::EXTERIOR
@ EXTERIOR
Definition Location.h:57
geos::geom::Location::BOUNDARY
@ BOUNDARY
Definition Location.h:50
geos::geom::Location::NONE
@ NONE
Definition Location.h:36
geos::geom::Location::INTERIOR
@ INTERIOR
Definition Location.h:43
geos
Basic namespace for all GEOS functionalities.
Definition geos.h:38