/** * Sets the number of segments used to approximate a angle fillet * * @param quadrantSegments the number of segments in a fillet for a quadrant */ public void setQuadrantSegments(int quadrantSegments) { bufParams.setQuadrantSegments(quadrantSegments); }
/** * Creates a set of parameters with the * given quadrantSegments value. * * @param quadrantSegments the number of quadrant segments to use */ public BufferParameters(int quadrantSegments) { setQuadrantSegments(quadrantSegments); }
/** * Creates a set of parameters with the * given quadrantSegments and endCapStyle values. * * @param quadrantSegments the number of quadrant segments to use * @param endCapStyle the end cap style to use */ public BufferParameters(int quadrantSegments, int endCapStyle) { setQuadrantSegments(quadrantSegments); setEndCapStyle(endCapStyle); }
/** * Creates a set of parameters with the * given parameter values. * * @param quadrantSegments the number of quadrant segments to use * @param endCapStyle the end cap style to use * @param joinStyle the join style to use * @param mitreLimit the mitre limit to use */ public BufferParameters(int quadrantSegments, int endCapStyle, int joinStyle, double mitreLimit) { setQuadrantSegments(quadrantSegments); setEndCapStyle(endCapStyle); setJoinStyle(joinStyle); setMitreLimit(mitreLimit); }
/** * Creates a set of parameters with the * given quadrantSegments value. * * @param quadrantSegments the number of quadrant segments to use */ public BufferParameters(int quadrantSegments) { setQuadrantSegments(quadrantSegments); }
/** * Sets the number of segments used to approximate a angle fillet * * @param quadrantSegments the number of segments in a fillet for a quadrant */ public void setQuadrantSegments(int quadrantSegments) { bufParams.setQuadrantSegments(quadrantSegments); }
/** * Creates a set of parameters with the * given quadrantSegments and endCapStyle values. * * @param quadrantSegments the number of quadrant segments to use * @param endCapStyle the end cap style to use */ public BufferParameters(int quadrantSegments, int endCapStyle) { setQuadrantSegments(quadrantSegments); setEndCapStyle(endCapStyle); }
bufferParameters.setMitreLimit(Double.valueOf(keyValue[1])); } else if (keyValue[0].equalsIgnoreCase("quad_segs")) { bufferParameters.setQuadrantSegments(Integer.valueOf(keyValue[1])); } else { throw new IllegalArgumentException("Unknown parameters. Please read the documentation.");
bufferParameters.setMitreLimit(Double.valueOf(keyValue[1])); } else if (keyValue[0].equalsIgnoreCase("quad_segs")) { bufferParameters.setQuadrantSegments(Integer.valueOf(keyValue[1])); } else { throw new IllegalArgumentException("Unknown parameters. Please read the documentation.");
bufferParameters.setMitreLimit(Double.valueOf(keyValue[1])); } else if (keyValue[0].equalsIgnoreCase("quad_segs")) { bufferParameters.setQuadrantSegments(Integer.valueOf(keyValue[1])); } else { throw new IllegalArgumentException("Unknown parameters. Please read the documentation.");
bufferParameters.setMitreLimit(Double.valueOf(keyValue[1])); } else if (keyValue[0].equalsIgnoreCase("quad_segs")) { bufferParameters.setQuadrantSegments(Integer.valueOf(keyValue[1])); } else { throw new IllegalArgumentException("Unknown parameters. Please read the documentation.");
bufferParameters.setMitreLimit(Double.valueOf(keyValue[1])); } else if (keyValue[0].equalsIgnoreCase("quad_segs")) { bufferParameters.setQuadrantSegments(Integer.valueOf(keyValue[1])); } else { throw new IllegalArgumentException("Unknown parameters. Please read the documentation.");
bufferParameters.setMitreLimit(Double.valueOf(keyValue[1])); } else if (keyValue[0].equalsIgnoreCase("quad_segs")) { bufferParameters.setQuadrantSegments(Integer.valueOf(keyValue[1])); } else { throw new IllegalArgumentException("Unknown parameters. Please read the documentation.");
/** * Creates a set of parameters with the * given parameter values. * * @param quadrantSegments the number of quadrant segments to use * @param endCapStyle the end cap style to use * @param joinStyle the join style to use * @param mitreLimit the mitre limit to use */ public BufferParameters(int quadrantSegments, int endCapStyle, int joinStyle, double mitreLimit) { setQuadrantSegments(quadrantSegments); setEndCapStyle(endCapStyle); setJoinStyle(joinStyle); setMitreLimit(mitreLimit); }
bufferParameters.setMitreLimit(Double.valueOf(keyValue[1])); } else if (keyValue[0].equalsIgnoreCase("quad_segs")) { bufferParameters.setQuadrantSegments(Integer.valueOf(keyValue[1])); } else { throw new IllegalArgumentException("Unknown parameters. Please read the documentation.");
bufferParameters.setMitreLimit(Double.valueOf(keyValue[1])); } else if (keyValue[0].equalsIgnoreCase("quad_segs")) { bufferParameters.setQuadrantSegments(Integer.valueOf(keyValue[1])); } else { throw new IllegalArgumentException("Unknown parameters. Please read the documentation.");
bufferParameters.setQuadrantSegments(Integer.valueOf(keyValue[1]));
public BufferExpressionFeatureIterator(SimpleFeatureIterator delegate, SimpleFeatureType schema, Expression distance, DistanceUnit distanceUnit, int quadrantSegments) { this.delegate = delegate; this.bufParams.setQuadrantSegments(quadrantSegments); this.bufParams.setSingleSided(true); this.distance = distance; this.distanceUnit = distanceUnit; this.targetUnit = UnitConverter.getLengthUnit(schema.getCoordinateReferenceSystem()); this.builder = new SimpleFeatureBuilder(schema); this.typeName = schema.getTypeName(); }
bufferParameters.setQuadrantSegments(Integer.valueOf(keyValue[1]));
bufferParameters.setQuadrantSegments(Integer.valueOf(keyValue[1]));