Package edu.gsu.cs.dmlab.geometry
Class GeometryUtilities
- java.lang.Object
-
- edu.gsu.cs.dmlab.geometry.GeometryUtilities
-
public class GeometryUtilities extends Object
Set of geometry utilities used throughout the project.- Author:
- Thaddeus Gholston, Data Mining Lab, Georgia State University
-
-
Constructor Summary
Constructors Constructor Description GeometryUtilities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.locationtech.jts.geom.Envelope
scaleEnvelope(org.locationtech.jts.geom.Envelope env, int divisor)
Scales an Envelope by the divisor valuestatic org.locationtech.jts.geom.Geometry
scaleGeometry(org.locationtech.jts.geom.Geometry geom, int divisor)
Scales a Geometry by the divisor value
-
-
-
Method Detail
-
scaleEnvelope
public static org.locationtech.jts.geom.Envelope scaleEnvelope(org.locationtech.jts.geom.Envelope env, int divisor)
Scales an Envelope by the divisor value- Parameters:
env
- The envelope geometry to scaledivisor
- The divisor used to scale- Returns:
- A envelope scaled to the appropriate size based upon the input
-
scaleGeometry
public static org.locationtech.jts.geom.Geometry scaleGeometry(org.locationtech.jts.geom.Geometry geom, int divisor)
Scales a Geometry by the divisor value- Parameters:
geom
- The geometry to scaledivisor
- The divisor used to scale- Returns:
- A scaled geometry
-
-