Class TileSeparator

java.lang.Object
org.oscim.utils.geom.TileSeparator

public class TileSeparator extends Object
  • Constructor Details

    • TileSeparator

      public TileSeparator(float xmin, float ymin, float xmax, float ymax)
  • Method Details

    • setRect

      public void setRect(float xmin, float ymin, float xmax, float ymax)
    • separate

      public boolean separate(GeometryBuffer geom)
      Separates geometry from tile without clipping it. Points and polys only.
      Parameters:
      geom - the geometry to be separated
      Returns:
      true if geometry is inside the tile, false otherwise