WKTReader.withFactory constructor

WKTReader.withFactory(
  1. GeometryFactory geometryFactory
)

Creates a reader that creates objects using the given {@link GeometryFactory}.

@param geometryFactory the factory used to create Geometrys.

Implementation

WKTReader.withFactory(this.geometryFactory) {
  this.csFactory = geometryFactory.getCoordinateSequenceFactory();
  this.precisionModel = geometryFactory.getPrecisionModel();
}