org.geolatte.geom.GeometryCollection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geolatte-geom Show documentation
Show all versions of geolatte-geom Show documentation
This geoLatte-geom library offers a geometry model that conforms to the OGC Simple Features for SQL
specification.
The newest version!
package org.geolatte.geom;
import org.geolatte.geom.crs.CoordinateReferenceSystem;
/**
* Created by Karel Maesen, Geovise BVBA on 2019-07-29.
*/
public class GeometryCollection extends AbstractGeometryCollection
> {
@SafeVarargs
public GeometryCollection(Geometry
... geoms) {
super(geoms);
}
public GeometryCollection(CoordinateReferenceSystem
crs) {
super(crs);
}
@SuppressWarnings("unchecked")
public GeometryCollection as(Class castToType){
checkCast(castToType);
return (GeometryCollection)this;
}
}