Package com.vividsolutions.jts.shape.fractal

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

Related Classes of com.vividsolutions.jts.shape.fractal.KochSnowflakeBuilder

Copyright © 2018 www.massapicom. 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.