setPrecisionModel method

void setPrecisionModel(
  1. PrecisionModel precisionModel
)

Sets a {@link PrecisionModel} that should be used on the ordinates written.

If none/{@code null} is assigned, the precision model of the {@link Geometry#getFactory()} is used.

Note: The precision model is applied to all ordinate values, not just x and y.

@param precisionModel the flag indicating if {@link Coordinate#z}/{} is actually a measure value.

Implementation

void setPrecisionModel(PrecisionModel precisionModel) {
  this.precisionModel = precisionModel;
}