/src/geos/src/noding/SegmentNode.cpp
Line | Count | Source |
1 | | /********************************************************************** |
2 | | * |
3 | | * GEOS - Geometry Engine Open Source |
4 | | * http://geos.osgeo.org |
5 | | * |
6 | | * Copyright (C) 2006 Refractions Research Inc. |
7 | | * Copyright (C) 2001-2002 Vivid Solutions Inc. |
8 | | * |
9 | | * This is free software; you can redistribute and/or modify it under |
10 | | * the terms of the GNU Lesser General Licence as published |
11 | | * by the Free Software Foundation. |
12 | | * See the COPYING file for more information. |
13 | | * |
14 | | ********************************************************************** |
15 | | * |
16 | | * Last port: noding/SegmentNode.java 4667170ea (JTS-1.17) |
17 | | * |
18 | | **********************************************************************/ |
19 | | |
20 | | #include <iostream> |
21 | | #include <sstream> |
22 | | #include <iomanip> |
23 | | |
24 | | #include <geos/noding/SegmentNode.h> |
25 | | #include <geos/noding/NodedSegmentString.h> |
26 | | #include <geos/geom/Coordinate.h> |
27 | | |
28 | | |
29 | | using geos::geom::CoordinateXYZM; |
30 | | using geos::geom::Coordinate; |
31 | | |
32 | | namespace geos { |
33 | | namespace noding { // geos.noding |
34 | | |
35 | | std::ostream& |
36 | | operator<< (std::ostream& os, const SegmentNode& n) |
37 | 0 | { |
38 | 0 | return os << n.coord << " seg#=" << n.segmentIndex << " octant#=" << n.segmentOctant << std::endl; |
39 | 0 | } |
40 | | |
41 | | |
42 | | } // namespace geos.noding |
43 | | } // namespace geos |
44 | | |