01: /*
02: * GeoTools - OpenSource mapping toolkit
03: * http://geotools.org
04: * (C) 2002-2006, GeoTools Project Managment Committee (PMC)
05: * (C) 2002, Refractions Reserach Inc.
06: *
07: * This library is free software; you can redistribute it and/or
08: * modify it under the terms of the GNU Lesser General Public
09: * License as published by the Free Software Foundation;
10: * version 2.1 of the License.
11: *
12: * This library is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15: * Lesser General Public License for more details.
16: */
17: package org.geotools.graph.build.line;
18:
19: import org.geotools.graph.build.opt.OptDirectedGraphBuilder;
20: import org.geotools.graph.structure.Node;
21: import org.geotools.graph.structure.line.OptDirectedXYNode;
22:
23: /**
24: * An inmplementation extended from OptDirectedGraphBuilder used to build
25: * optimized directed components for line networks.
26: *
27: * @author Justin Deoliveira, Refractions Research Inc, jdeolive@refractions.net
28: *
29: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/extension/graph/src/main/java/org/geotools/graph/build/line/OptDirectedLineGraphBuilder.java $
30: */
31: public class OptDirectedLineGraphBuilder extends
32: OptDirectedGraphBuilder {
33:
34: /**
35: * Returns a node of type OptDirectedXYNode.
36: *
37: * @see OptDirectedXYNode
38: * @see org.geotools.graph.build.GraphBuilder#buildNode()
39: */
40: public Node buildNode() {
41: return (new OptDirectedXYNode());
42: }
43:
44: }
|