| 1 | /**********************************************************************
|
|---|
| 2 | * $Id: PolygonizeEdge.cpp 2567 2009-06-08 16:58:42Z strk $
|
|---|
| 3 | *
|
|---|
| 4 | * GEOS - Geometry Engine Open Source
|
|---|
| 5 | * http://geos.refractions.net
|
|---|
| 6 | *
|
|---|
| 7 | * Copyright (C) 2005-2006 Refractions Research Inc.
|
|---|
| 8 | * Copyright (C) 2001-2002 Vivid Solutions Inc.
|
|---|
| 9 | *
|
|---|
| 10 | * This is free software; you can redistribute and/or modify it under
|
|---|
| 11 | * the terms of the GNU Lesser General Public Licence as published
|
|---|
| 12 | * by the Free Software Foundation.
|
|---|
| 13 | * See the COPYING file for more information.
|
|---|
| 14 | *
|
|---|
| 15 | **********************************************************************
|
|---|
| 16 | *
|
|---|
| 17 | * Last port: operation/polygonize/PolygonizeEdge.java rev. 1.3 (JTS-1.10)
|
|---|
| 18 | *
|
|---|
| 19 | **********************************************************************/
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 | #include <geos/operation/polygonize/PolygonizeEdge.h>
|
|---|
| 23 |
|
|---|
| 24 | using namespace geos::geom;
|
|---|
| 25 |
|
|---|
| 26 | namespace geos {
|
|---|
| 27 | namespace operation { // geos.operation
|
|---|
| 28 | namespace polygonize { // geos.operation.polygonize
|
|---|
| 29 |
|
|---|
| 30 | PolygonizeEdge::PolygonizeEdge(const LineString *newLine) {
|
|---|
| 31 | line=newLine;
|
|---|
| 32 | }
|
|---|
| 33 |
|
|---|
| 34 | const LineString *
|
|---|
| 35 | PolygonizeEdge::getLine() {
|
|---|
| 36 | return line;
|
|---|
| 37 | }
|
|---|
| 38 |
|
|---|
| 39 | } // namespace geos.operation.polygonize
|
|---|
| 40 | } // namespace geos.operation
|
|---|
| 41 | } // namespace geos
|
|---|
| 42 |
|
|---|
| 43 | /**********************************************************************
|
|---|
| 44 | * $Log$
|
|---|
| 45 | * Revision 1.5 2006/03/22 11:19:06 strk
|
|---|
| 46 | * opPolygonize.h headers split.
|
|---|
| 47 | *
|
|---|
| 48 | **********************************************************************/
|
|---|