Package org.locationtech.jtsexample.geom
Class ConstructionExample
java.lang.Object
org.locationtech.jtsexample.geom.ConstructionExample
Examples of constructing Geometries programmatically.
The Best Practice moral here is:
Use the GeometryFactory to construct Geometries whenever possible.
This has several advantages:
- Simplifies your code
- allows you to take advantage of convenience methods provided by GeometryFactory
- Insulates your code from changes in the signature of JTS constructors
- Version:
- 1.7
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ConstructionExample
public ConstructionExample()
-
-
Method Details
-
main
- Throws:
Exception
-