regions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
regions [2013/09/23 23:10]
mroriz
regions [2013/09/23 23:12]
mroriz
Line 56: Line 56:
 The three most difficult methods are here : The three most difficult methods are here :
  
-  * equals( Object ) - Returns true if this geometry is equal to the specified geometry +  * ''equals(Object)'' - Returns true if this geometry is equal to the specified geometry 
-  * equals( Geometry ) - checks if the geometry is the same shape +  * ''equals(Geometry)'' - checks if the geometry is the same shape 
-  * equalsExact( Geometry ) - Returns true if the two Geometrys are exactly equal, up to a specified distance tolerance.+  * ''equalsExact(Geometry)'' - Returns true if the two Geometrys are exactly equal, up to a specified distance tolerance.
  
 There are some book keeping methods to help discovery how the geometry was constructed: There are some book keeping methods to help discovery how the geometry was constructed:
  
-  * getGeometryFactory() - Gets the factory which contains the context in which this geometry was created. +  * ''getGeometryFactory()'' - Gets the factory which contains the context in which this geometry was created. 
-  * getPreceisionModel() +  * ''getPreceisionModel()'' 
-  * toText() - the WKT representation of the Geometry +  * ''toText()'' - the WKT representation of the Geometry 
-  * getGeoemtryType() - factory method called (ie “point”, “linestring”, etc..)+  * ''getGeometryType()'' - factory method called (ie “point”, “linestring”, etc..)
  
 A couple of methods are there to store your developer information: A couple of methods are there to store your developer information:
  
-  * getSRID() - stores the “spatial reference id”, used as an external key when working with databases +  * ''getSRID()'' - stores the “spatial reference id”, used as an external key when working with databases 
-  * getUserData() - intended to be used by developers, a best practice is to store a java.util.Map. GeoTools will occasionally use this field to store a “srsName” or full CoordianteReferenceSystem.+  * ''getUserData()'' - intended to be used by developers, a best practice is to store a java.util.Map. GeoTools will occasionally use this field to store a “srsName” or full CoordianteReferenceSystem.
  
 The code below is based on this two polygons. Its coordinates can be viewed in GerarPoligonoA  and GerarPoligonoB methods. The code below is based on this two polygons. Its coordinates can be viewed in GerarPoligonoA  and GerarPoligonoB methods.
  • regions.txt
  • Last modified: 2017/07/21 03:08
  • (external edit)