Java Doc for GeometryGraph.java in  » GIS » jts » com » vividsolutions » jts » geomgraph » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » jts » com.vividsolutions.jts.geomgraph 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.vividsolutions.jts.geomgraph.PlanarGraph
      com.vividsolutions.jts.geomgraph.GeometryGraph

GeometryGraph
public class GeometryGraph extends PlanarGraph (Code)
A GeometryGraph is a graph that models a given Geometry
version:
   1.7



Constructor Summary
public  GeometryGraph(int argIndex, Geometry parentGeom)
    
public  GeometryGraph(int argIndex, Geometry parentGeom, BoundaryNodeRule boundaryNodeRule)
    

Method Summary
public  voidaddEdge(Edge e)
     Add an Edge computed externally.
public  voidaddPoint(Coordinate pt)
     Add a point computed externally.
public  SegmentIntersectorcomputeEdgeIntersections(GeometryGraph g, LineIntersector li, boolean includeProper)
    
public  SegmentIntersectorcomputeSelfNodes(LineIntersector li, boolean computeRingSelfNodes)
     Compute self-nodes, taking advantage of the Geometry type to minimize the number of intersection tests.
public  voidcomputeSplitEdges(List edgelist)
    
public static  intdetermineBoundary(BoundaryNodeRule boundaryNodeRule, int boundaryCount)
    
public  EdgefindEdge(LineString line)
    
public  BoundaryNodeRulegetBoundaryNodeRule()
    
public  CollectiongetBoundaryNodes()
    
public  Coordinate[]getBoundaryPoints()
    
public  GeometrygetGeometry()
    
public  CoordinategetInvalidPoint()
    
public  booleanhasTooFewPoints()
     This constructor is used by clients that wish to add Edges explicitly, rather than adding a Geometry.


Constructor Detail
GeometryGraph
public GeometryGraph(int argIndex, Geometry parentGeom)(Code)



GeometryGraph
public GeometryGraph(int argIndex, Geometry parentGeom, BoundaryNodeRule boundaryNodeRule)(Code)




Method Detail
addEdge
public void addEdge(Edge e)(Code)
Add an Edge computed externally. The label on the Edge is assumed to be correct.



addPoint
public void addPoint(Coordinate pt)(Code)
Add a point computed externally. The point is assumed to be a Point Geometry part, which has a location of INTERIOR.



computeEdgeIntersections
public SegmentIntersector computeEdgeIntersections(GeometryGraph g, LineIntersector li, boolean includeProper)(Code)



computeSelfNodes
public SegmentIntersector computeSelfNodes(LineIntersector li, boolean computeRingSelfNodes)(Code)
Compute self-nodes, taking advantage of the Geometry type to minimize the number of intersection tests. (E.g. rings are not tested for self-intersection, since they are assumed to be valid).
Parameters:
  li - the LineIntersector to use
Parameters:
  computeRingSelfNodes - if , intersection checks are optimized to not test rings for self-intersection the SegmentIntersector used, containing information about the intersections found



computeSplitEdges
public void computeSplitEdges(List edgelist)(Code)



determineBoundary
public static int determineBoundary(BoundaryNodeRule boundaryNodeRule, int boundaryCount)(Code)
This method implements the Boundary Determination Rule for determining whether a component (node or edge) that appears multiple times in elements of a MultiGeometry is in the boundary or the interior of the Geometry
The SFS uses the "Mod-2 Rule", which this function implements
An alternative (and possibly more intuitive) rule would be the "At Most One Rule": isInBoundary = (componentCount == 1)



findEdge
public Edge findEdge(LineString line)(Code)



getBoundaryNodeRule
public BoundaryNodeRule getBoundaryNodeRule()(Code)



getBoundaryNodes
public Collection getBoundaryNodes()(Code)



getBoundaryPoints
public Coordinate[] getBoundaryPoints()(Code)



getGeometry
public Geometry getGeometry()(Code)



getInvalidPoint
public Coordinate getInvalidPoint()(Code)



hasTooFewPoints
public boolean hasTooFewPoints()(Code)
This constructor is used by clients that wish to add Edges explicitly, rather than adding a Geometry. (An example is BufferOp).



Fields inherited from com.vividsolutions.jts.geomgraph.PlanarGraph
final public static CGAlgorithms cga(Code)(Java Doc)
protected List edgeEndList(Code)(Java Doc)
protected List edges(Code)(Java Doc)
protected NodeMap nodes(Code)(Java Doc)

Methods inherited from com.vividsolutions.jts.geomgraph.PlanarGraph
public void add(EdgeEnd e)(Code)(Java Doc)
public void addEdges(List edgesToAdd)(Code)(Java Doc)
public Node addNode(Node node)(Code)(Java Doc)
public Node addNode(Coordinate coord)(Code)(Java Doc)
void debugPrint(Object o)(Code)(Java Doc)
void debugPrintln(Object o)(Code)(Java Doc)
public Node find(Coordinate coord)(Code)(Java Doc)
public Edge findEdge(Coordinate p0, Coordinate p1)(Code)(Java Doc)
public EdgeEnd findEdgeEnd(Edge e)(Code)(Java Doc)
public Edge findEdgeInSameDirection(Coordinate p0, Coordinate p1)(Code)(Java Doc)
public Collection getEdgeEnds()(Code)(Java Doc)
public Iterator getEdgeIterator()(Code)(Java Doc)
public Iterator getNodeIterator()(Code)(Java Doc)
public Collection getNodes()(Code)(Java Doc)
protected void insertEdge(Edge e)(Code)(Java Doc)
public boolean isBoundaryNode(int geomIndex, Coordinate coord)(Code)(Java Doc)
public void linkAllDirectedEdges()(Code)(Java Doc)
public static void linkResultDirectedEdges(Collection nodes)(Code)(Java Doc)
public void linkResultDirectedEdges()(Code)(Java Doc)
public void printEdges(PrintStream out)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.