pointcoordinatesequencefactory.cpp
来自「一个很好的vc底层代码」· C++ 代码 · 共 36 行
CPP
36 行
/********************************************************************** * $Id: PointCoordinateSequenceFactory.cpp,v 1.1 2004/07/08 19:38:56 strk Exp $ * * GEOS - Geometry Engine Open Source * http://geos.refractions.net * * Copyright (C) 2001-2002 Vivid Solutions 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. * ********************************************************************** * $Log: PointCoordinateSequenceFactory.cpp,v $ * Revision 1.1 2004/07/08 19:38:56 strk * renamed from *List* equivalents * **********************************************************************/#include <geos/geom.h>#include <stdio.h>namespace geos {CoordinateSequence *PointCoordinateSequenceFactory::create(vector<Coordinate> *coords) const{ CoordinateSequence *cs = new PointCoordinateSequence((*coords)[0]); delete coords; return cs;}}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?