WKBWriter.withDim constructor

WKBWriter.withDim(
  1. int outputDimension
)

Creates a writer that writes {@link Geometry}s with the given dimension (2 or 3) for output coordinates and {@link ByteOrderValues#Endian.big} byte order. If the input geometry has a small coordinate dimension, coordinates will be padded with {@link Coordinate#NULL_ORDINATE}.

@param outputDimension the coordinate dimension to output (2 or 3)

Implementation

WKBWriter.withDim(int outputDimension)
    : this.withDimOrder(outputDimension, Endian.big);