1 /**********************************************************************
4 * GEOS - Geometry Engine Open Source
5 * http://geos.refractions.net
7 * Copyright (C) 2006 Refractions Research Inc.
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.
14 **********************************************************************
16 * Last port: simplify/TaggedLineSegment.java rev. 1.1 (JTS-1.7.1)
18 **********************************************************************/
20 #include <geos/simplify/TaggedLineSegment.h>
33 namespace simplify
{ // geos::simplify
35 TaggedLineSegment::TaggedLineSegment(const geom::Coordinate
& p0
,
36 const geom::Coordinate
& p1
,
37 const geom::Geometry
* nParent
,
46 TaggedLineSegment::TaggedLineSegment(const geom::Coordinate
& p0
,
47 const geom::Coordinate
& p1
)
55 TaggedLineSegment::TaggedLineSegment(const TaggedLineSegment
& ls
)
64 TaggedLineSegment::getParent() const
70 TaggedLineSegment::getIndex() const
75 } // namespace geos::simplify
78 /**********************************************************************
80 * Revision 1.2 2006/04/12 17:19:57 strk
81 * Ported TaggedLineStringSimplifier class, made LineSegment class
82 * polymorphic to fix derivation of TaggedLineSegment
84 * Revision 1.1 2006/04/12 14:22:12 strk
85 * Initial implementation of TaggedLineSegment and TaggedLineString classes
87 **********************************************************************/