00001 /********************************************************************** 00002 * $Id: EndpointInfo.h 1820 2006-09-06 16:54:23Z mloskot $ 00003 * 00004 * GEOS - Geometry Engine Open Source 00005 * http://geos.refractions.net 00006 * 00007 * Copyright (C) 2005-2006 Refractions Research Inc. 00008 * Copyright (C) 2001-2002 Vivid Solutions Inc. 00009 * 00010 * This is free software; you can redistribute and/or modify it under 00011 * the terms of the GNU Lesser General Public Licence as published 00012 * by the Free Software Foundation. 00013 * See the COPYING file for more information. 00014 * 00015 **********************************************************************/ 00016 00017 #ifndef GEOS_OPERATION_ENDPOINTINFO_H 00018 #define GEOS_OPERATION_ENDPOINTINFO_H 00019 00020 #include <geos/geom/Coordinate.h> // for composition 00021 00022 namespace geos { 00023 namespace operation { // geos.operation 00024 00025 00026 class EndpointInfo{ 00027 public: 00028 geom::Coordinate pt; 00029 bool isClosed; 00030 int degree; 00031 EndpointInfo(const geom::Coordinate& newPt); 00032 void addEndpoint(bool newIsClosed); 00033 }; 00034 00035 } // namespace geos.operation 00036 } // namespace geos 00037 00038 #endif 00039 00040 /********************************************************************** 00041 * $Log$ 00042 * Revision 1.1 2006/03/09 16:46:49 strk 00043 * geos::geom namespace definition, first pass at headers split 00044 * 00045 **********************************************************************/ 00046