Java 类com.vividsolutions.jts.geom.OctagonalEnvelope 实例源码

项目:geotools-cookbook    文件:ProcessTutorial.java   
@DescribeProcess(title = "Octagonal Envelope", description = "Get the octagonal envelope of this Geometry.")
@DescribeResult(description="octagonal of geom")
static public Geometry octagonalEnvelope(@DescribeParameter(name = "geom") Geometry geom) {
    return new OctagonalEnvelope(geom).toGeometry(geom.getFactory());
}
项目:jeql    文件:GeomFunction.java   
public static Geometry octagonalEnvelope(Geometry g)
{
  if (g == null) return null;
  OctagonalEnvelope oct = new OctagonalEnvelope(g);
  return oct.toGeometry(g.getFactory());
}