lib/rgeo/geography/simple_spherical/feature_classes.rb in rgeo-0.1.14 vs lib/rgeo/geography/simple_spherical/feature_classes.rb in rgeo-0.1.15
- old
+ new
@@ -42,14 +42,14 @@
class PointImpl # :nodoc:
- include Features::Point
- include ImplHelpers::BasicGeometryMethods
- include SimpleSpherical::GeometryMethods
- include ImplHelpers::BasicPointMethods
+ include ::RGeo::Features::Point
+ include ::RGeo::ImplHelpers::BasicGeometryMethods
+ include ::RGeo::Geography::SimpleSpherical::GeometryMethods
+ include ::RGeo::ImplHelpers::BasicPointMethods
def _validate_geometry
@x = @x % 360.0
@x -= 360.0 if @x >= 180.0
@@ -79,105 +79,105 @@
class LineStringImpl # :nodoc:
- include Features::LineString
- include ImplHelpers::BasicGeometryMethods
- include SimpleSpherical::GeometryMethods
- include ImplHelpers::BasicLineStringMethods
- include SimpleSpherical::LineStringMethods
+ include ::RGeo::Features::LineString
+ include ::RGeo::ImplHelpers::BasicGeometryMethods
+ include ::RGeo::Geography::SimpleSpherical::GeometryMethods
+ include ::RGeo::ImplHelpers::BasicLineStringMethods
+ include ::RGeo::Geography::SimpleSpherical::LineStringMethods
end
class LineImpl # :nodoc:
- include Features::Line
- include ImplHelpers::BasicGeometryMethods
- include SimpleSpherical::GeometryMethods
- include ImplHelpers::BasicLineStringMethods
- include SimpleSpherical::LineStringMethods
- include ImplHelpers::BasicLineMethods
+ include ::RGeo::Features::Line
+ include ::RGeo::ImplHelpers::BasicGeometryMethods
+ include ::RGeo::Geography::SimpleSpherical::GeometryMethods
+ include ::RGeo::ImplHelpers::BasicLineStringMethods
+ include ::RGeo::Geography::SimpleSpherical::LineStringMethods
+ include ::RGeo::ImplHelpers::BasicLineMethods
end
class LinearRingImpl # :nodoc:
- include Features::Line
- include ImplHelpers::BasicGeometryMethods
- include SimpleSpherical::GeometryMethods
- include ImplHelpers::BasicLineStringMethods
- include SimpleSpherical::LineStringMethods
- include ImplHelpers::BasicLinearRingMethods
+ include ::RGeo::Features::Line
+ include ::RGeo::ImplHelpers::BasicGeometryMethods
+ include ::RGeo::Geography::SimpleSpherical::GeometryMethods
+ include ::RGeo::ImplHelpers::BasicLineStringMethods
+ include ::RGeo::Geography::SimpleSpherical::LineStringMethods
+ include ::RGeo::ImplHelpers::BasicLinearRingMethods
end
class PolygonImpl # :nodoc:
- include Features::Polygon
- include ImplHelpers::BasicGeometryMethods
- include SimpleSpherical::GeometryMethods
- include ImplHelpers::BasicPolygonMethods
+ include ::RGeo::Features::Polygon
+ include ::RGeo::ImplHelpers::BasicGeometryMethods
+ include ::RGeo::Geography::SimpleSpherical::GeometryMethods
+ include ::RGeo::ImplHelpers::BasicPolygonMethods
end
class GeometryCollectionImpl # :nodoc:
- include Features::GeometryCollection
- include ImplHelpers::BasicGeometryMethods
- include SimpleSpherical::GeometryMethods
- include ImplHelpers::BasicGeometryCollectionMethods
+ include ::RGeo::Features::GeometryCollection
+ include ::RGeo::ImplHelpers::BasicGeometryMethods
+ include ::RGeo::Geography::SimpleSpherical::GeometryMethods
+ include ::RGeo::ImplHelpers::BasicGeometryCollectionMethods
end
class MultiPointImpl # :nodoc:
- include Features::GeometryCollection
- include ImplHelpers::BasicGeometryMethods
- include SimpleSpherical::GeometryMethods
- include ImplHelpers::BasicGeometryCollectionMethods
- include ImplHelpers::BasicMultiPointMethods
+ include ::RGeo::Features::GeometryCollection
+ include ::RGeo::ImplHelpers::BasicGeometryMethods
+ include ::RGeo::Geography::SimpleSpherical::GeometryMethods
+ include ::RGeo::ImplHelpers::BasicGeometryCollectionMethods
+ include ::RGeo::ImplHelpers::BasicMultiPointMethods
end
class MultiLineStringImpl # :nodoc:
- include Features::GeometryCollection
- include ImplHelpers::BasicGeometryMethods
- include SimpleSpherical::GeometryMethods
- include ImplHelpers::BasicGeometryCollectionMethods
- include ImplHelpers::BasicMultiLineStringMethods
+ include ::RGeo::Features::GeometryCollection
+ include ::RGeo::ImplHelpers::BasicGeometryMethods
+ include ::RGeo::Geography::SimpleSpherical::GeometryMethods
+ include ::RGeo::ImplHelpers::BasicGeometryCollectionMethods
+ include ::RGeo::ImplHelpers::BasicMultiLineStringMethods
end
class MultiPolygonImpl # :nodoc:
- include Features::GeometryCollection
- include ImplHelpers::BasicGeometryMethods
- include SimpleSpherical::GeometryMethods
- include ImplHelpers::BasicGeometryCollectionMethods
- include ImplHelpers::BasicMultiPolygonMethods
+ include ::RGeo::Features::GeometryCollection
+ include ::RGeo::ImplHelpers::BasicGeometryMethods
+ include ::RGeo::Geography::SimpleSpherical::GeometryMethods
+ include ::RGeo::ImplHelpers::BasicGeometryCollectionMethods
+ include ::RGeo::ImplHelpers::BasicMultiPolygonMethods
end