Examples of KochSnowflakeBuilder


Examples of com.vividsolutions.jts.shape.fractal.KochSnowflakeBuilder

public class CreateFractalShapeFunctions
{

  public static Geometry kochSnowflake(Geometry g, int n)
  {
    KochSnowflakeBuilder builder = new KochSnowflakeBuilder(FunctionsUtil.getFactoryOrDefault(g));
    builder.setExtent(FunctionsUtil.getEnvelopeOrDefault(g));
    builder.setNumPoints(n);
    return builder.getGeometry();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.