relatenodefactory.cpp

来自「在Linux下做的QuadTree的程序」· C++ 代码 · 共 58 行

CPP
58
字号
/********************************************************************** * $Id: RelateNodeFactory.cpp 1820 2006-09-06 16:54:23Z mloskot $ * * GEOS - Geometry Engine Open Source * http://geos.refractions.net * * Copyright (C) 2001-2002 Vivid Solutions Inc. * Copyright (C) 2005 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. * **********************************************************************/#include <geos/operation/relate/RelateNodeFactory.h>#include <geos/operation/relate/RelateNode.h>#include <geos/operation/relate/EdgeEndBundleStar.h>using namespace geos::geom;using namespace geos::geomgraph;namespace geos {namespace operation { // geos.operationnamespace relate { // geos.operation.relateNode*RelateNodeFactory::createNode(const Coordinate &coord) const{	return new RelateNode(coord, new EdgeEndBundleStar());}const NodeFactory &RelateNodeFactory::instance() {	static const RelateNodeFactory rnf;	return rnf;}} // namespace geos.operation.relate} // namespace geos.operation} // namespace geos/********************************************************************** * $Log$ * Revision 1.10  2006/03/21 13:11:29  strk * opRelate.h header split * * Revision 1.9  2006/03/20 16:57:44  strk * spatialindex.h and opValid.h headers split * * Revision 1.8  2006/02/19 19:46:50  strk * Packages <-> namespaces mapping for most GEOS internal code (uncomplete, but working). Dir-level libs for index/ subdirs. **********************************************************************/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?