@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()); }
public static Geometry octagonalEnvelope(Geometry g) { if (g == null) return null; OctagonalEnvelope oct = new OctagonalEnvelope(g); return oct.toGeometry(g.getFactory()); }