return shapeFactory.normDist(dist);
/** * Parses the BUFFER operation applied to a parsed shape. * * <pre> * '(' shape ',' number ')' * </pre> * * Whereas 'number' is the distance to buffer the shape by. */ protected Shape parseBufferShape(State state) throws ParseException { state.nextExpect('('); Shape shape = shape(state); state.nextExpect(','); double distance = shapeFactory.normDist(state.nextDouble()); state.nextExpect(')'); return shape.getBuffered(distance, ctx); }