Sha256: 2c8597d38c7e64e458ad74f558f6f631bbe7905e43203b2b88f620a0c43ba3ca

Contents?: true

Size: 789 Bytes

Versions: 13

Compression:

Stored size: 789 Bytes

Contents

# frozen_string_literal: true

# -----------------------------------------------------------------------------
#
# Line feature interface
#
# -----------------------------------------------------------------------------

module RGeo
  module Feature
    # == SFS 1.1 Description
    #
    # A Line is a LineString with exactly 2 Points.
    #
    # == Notes
    #
    # Line is defined as a module and is provided primarily
    # for the sake of documentation. Implementations need not necessarily
    # include this module itself. Therefore, you should not depend on the
    # kind_of? method to check type. Instead, use the provided check_type
    # class method (or === operator) defined in the Type module.

    module Line
      include LineString
      extend Type
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rgeo-3.0.1 lib/rgeo/feature/line.rb
rgeo-3.0.0 lib/rgeo/feature/line.rb
rgeo-3.0.0.pre.rc.3 lib/rgeo/feature/line.rb
rgeo-3.0.0.pre.rc.2 lib/rgeo/feature/line.rb
rgeo-3.0.0.pre.rc.1 lib/rgeo/feature/line.rb
rgeo-2.4.0 lib/rgeo/feature/line.rb
rgeo-2.3.1 lib/rgeo/feature/line.rb
rgeo-2.3.0 lib/rgeo/feature/line.rb
rgeo-2.2.0 lib/rgeo/feature/line.rb
rgeo-2.1.1 lib/rgeo/feature/line.rb
rgeo-2.1.0 lib/rgeo/feature/line.rb
rgeo-2.0.1 lib/rgeo/feature/line.rb
rgeo-2.0.0 lib/rgeo/feature/line.rb