@SuppressWarnings("unchecked") public <Q extends Position> Geometry<Q> as(Class<Q> castToType){ checkCast(castToType); return (Geometry<Q>)this; }
@SuppressWarnings("unchecked") public <Q extends Position> Geometry<Q> as(Class<Q> castToType){ checkCast(castToType); return (Geometry<Q>)this; }