Java Doc for LinearRing.java in  » GIS » jts » com » vividsolutions » jts » geom » 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.geom 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.vividsolutions.jts.geom.Geometry
      com.vividsolutions.jts.geom.LineString
         com.vividsolutions.jts.geom.LinearRing

LinearRing
public class LinearRing extends LineString (Code)
Models an OGC SFS LinearRing. A LinearRing is a LineString which is both closed and simple. In other words, the first and last coordinate in the ring must be equal, and the interior of the ring must not self-intersect. Either orientation of the ring is allowed.
version:
   1.7



Constructor Summary
public  LinearRing(Coordinate points, PrecisionModel precisionModel, int SRID)
     Constructs a LinearRing with the given points.
public  LinearRing(CoordinateSequence points, GeometryFactory factory)
     Constructs a LinearRing with the vertices specifed by the given CoordinateSequence .

Method Summary
public  intgetBoundaryDimension()
     Returns Dimension.FALSE, since by definition LinearRings do not have a boundary.
public  StringgetGeometryType()
    
public  booleanisSimple()
     Returns true, since by definition LinearRings are always simple.


Constructor Detail
LinearRing
public LinearRing(Coordinate points, PrecisionModel precisionModel, int SRID)(Code)
Constructs a LinearRing with the given points.
Parameters:
  points - points forming a closed and simple linestring, ornull or an empty array to create the empty geometry.This array must not contain null elements.
Parameters:
  precisionModel - the specification of the grid of allowable pointsfor this LinearRing
Parameters:
  SRID - the ID of the Spatial Reference System used by thisLinearRing



LinearRing
public LinearRing(CoordinateSequence points, GeometryFactory factory)(Code)
Constructs a LinearRing with the vertices specifed by the given CoordinateSequence .
Parameters:
  points - a sequence points forming a closed and simple linestring, ornull to create the empty geometry.




Method Detail
getBoundaryDimension
public int getBoundaryDimension()(Code)
Returns Dimension.FALSE, since by definition LinearRings do not have a boundary. Dimension.FALSE



getGeometryType
public String getGeometryType()(Code)



isSimple
public boolean isSimple()(Code)
Returns true, since by definition LinearRings are always simple. true
See Also:   Geometry.isSimple



Methods inherited from com.vividsolutions.jts.geom.LineString
public void apply(CoordinateFilter filter)(Code)(Java Doc)
public void apply(CoordinateSequenceFilter filter)(Code)(Java Doc)
public void apply(GeometryFilter filter)(Code)(Java Doc)
public void apply(GeometryComponentFilter filter)(Code)(Java Doc)
public Object clone()(Code)(Java Doc)
protected int compareToSameClass(Object o)(Code)(Java Doc)
protected int compareToSameClass(Object o, CoordinateSequenceComparator comp)(Code)(Java Doc)
protected Envelope computeEnvelopeInternal()(Code)(Java Doc)
public boolean equalsExact(Geometry other, double tolerance)(Code)(Java Doc)
public Geometry getBoundary()(Code)(Java Doc)
public int getBoundaryDimension()(Code)(Java Doc)
public Coordinate getCoordinate()(Code)(Java Doc)
public Coordinate getCoordinateN(int n)(Code)(Java Doc)
public CoordinateSequence getCoordinateSequence()(Code)(Java Doc)
public Coordinate[] getCoordinates()(Code)(Java Doc)
public int getDimension()(Code)(Java Doc)
public Point getEndPoint()(Code)(Java Doc)
public String getGeometryType()(Code)(Java Doc)
public double getLength()(Code)(Java Doc)
public int getNumPoints()(Code)(Java Doc)
public Point getPointN(int n)(Code)(Java Doc)
public Point getStartPoint()(Code)(Java Doc)
public boolean isClosed()(Code)(Java Doc)
public boolean isCoordinate(Coordinate pt)(Code)(Java Doc)
public boolean isEmpty()(Code)(Java Doc)
protected boolean isEquivalentClass(Geometry other)(Code)(Java Doc)
public boolean isRing()(Code)(Java Doc)
public void normalize()(Code)(Java Doc)
public LineString reverse()(Code)(Java Doc)

Fields inherited from com.vividsolutions.jts.geom.Geometry
protected int SRID(Code)(Java Doc)
protected Envelope envelope(Code)(Java Doc)
final protected GeometryFactory factory(Code)(Java Doc)

Methods inherited from com.vividsolutions.jts.geom.Geometry
abstract public void apply(CoordinateFilter filter)(Code)(Java Doc)
abstract public void apply(CoordinateSequenceFilter filter)(Code)(Java Doc)
abstract public void apply(GeometryFilter filter)(Code)(Java Doc)
abstract public void apply(GeometryComponentFilter filter)(Code)(Java Doc)
public Geometry buffer(double distance)(Code)(Java Doc)
public Geometry buffer(double distance, int quadrantSegments)(Code)(Java Doc)
public Geometry buffer(double distance, int quadrantSegments, int endCapStyle)(Code)(Java Doc)
protected void checkNotGeometryCollection(Geometry g)(Code)(Java Doc)
public Object clone()(Code)(Java Doc)
protected int compare(Collection a, Collection b)(Code)(Java Doc)
public int compareTo(Object o)(Code)(Java Doc)
public int compareTo(Object o, CoordinateSequenceComparator comp)(Code)(Java Doc)
abstract protected int compareToSameClass(Object o)(Code)(Java Doc)
abstract protected int compareToSameClass(Object o, CoordinateSequenceComparator comp)(Code)(Java Doc)
abstract protected Envelope computeEnvelopeInternal()(Code)(Java Doc)
public boolean contains(Geometry g)(Code)(Java Doc)
public Geometry convexHull()(Code)(Java Doc)
public boolean coveredBy(Geometry g)(Code)(Java Doc)
public boolean covers(Geometry g)(Code)(Java Doc)
public boolean crosses(Geometry g)(Code)(Java Doc)
public Geometry difference(Geometry other)(Code)(Java Doc)
public boolean disjoint(Geometry g)(Code)(Java Doc)
public double distance(Geometry g)(Code)(Java Doc)
protected boolean equal(Coordinate a, Coordinate b, double tolerance)(Code)(Java Doc)
public boolean equals(Geometry g)(Code)(Java Doc)
abstract public boolean equalsExact(Geometry other, double tolerance)(Code)(Java Doc)
public boolean equalsExact(Geometry other)(Code)(Java Doc)
public void geometryChanged()(Code)(Java Doc)
protected void geometryChangedAction()(Code)(Java Doc)
public double getArea()(Code)(Java Doc)
abstract public Geometry getBoundary()(Code)(Java Doc)
abstract public int getBoundaryDimension()(Code)(Java Doc)
public Point getCentroid()(Code)(Java Doc)
abstract public Coordinate getCoordinate()(Code)(Java Doc)
abstract public Coordinate[] getCoordinates()(Code)(Java Doc)
abstract public int getDimension()(Code)(Java Doc)
public Geometry getEnvelope()(Code)(Java Doc)
public Envelope getEnvelopeInternal()(Code)(Java Doc)
public GeometryFactory getFactory()(Code)(Java Doc)
public Geometry getGeometryN(int n)(Code)(Java Doc)
abstract public String getGeometryType()(Code)(Java Doc)
public Point getInteriorPoint()(Code)(Java Doc)
public double getLength()(Code)(Java Doc)
public int getNumGeometries()(Code)(Java Doc)
abstract public int getNumPoints()(Code)(Java Doc)
public PrecisionModel getPrecisionModel()(Code)(Java Doc)
public int getSRID()(Code)(Java Doc)
public Object getUserData()(Code)(Java Doc)
protected static boolean hasNonEmptyElements(Geometry[] geometries)(Code)(Java Doc)
protected static boolean hasNullElements(Object[] array)(Code)(Java Doc)
public Geometry intersection(Geometry other)(Code)(Java Doc)
public boolean intersects(Geometry g)(Code)(Java Doc)
abstract public boolean isEmpty()(Code)(Java Doc)
protected boolean isEquivalentClass(Geometry other)(Code)(Java Doc)
public boolean isRectangle()(Code)(Java Doc)
public boolean isSimple()(Code)(Java Doc)
public boolean isValid()(Code)(Java Doc)
public boolean isWithinDistance(Geometry geom, double distance)(Code)(Java Doc)
abstract public void normalize()(Code)(Java Doc)
public boolean overlaps(Geometry g)(Code)(Java Doc)
public boolean relate(Geometry g, String intersectionPattern)(Code)(Java Doc)
public IntersectionMatrix relate(Geometry g)(Code)(Java Doc)
public void setSRID(int SRID)(Code)(Java Doc)
public void setUserData(Object userData)(Code)(Java Doc)
public Geometry symDifference(Geometry other)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public String toText()(Code)(Java Doc)
public boolean touches(Geometry g)(Code)(Java Doc)
public Geometry union(Geometry other)(Code)(Java Doc)
public boolean within(Geometry g)(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.