Package org.oscim.utils.geom
Class TileSeparator
java.lang.Object
org.oscim.utils.geom.TileSeparator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanseparate(GeometryBuffer geom) Separates geometry from tile without clipping it.voidsetRect(float xmin, float ymin, float xmax, float ymax)
-
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
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
-