Class: Contrek::Concurrent::ClippedPolygonFinder

Inherits:
Finder::PolygonFinder
  • Object
show all
Defined in:
lib/contrek/finder/concurrent/clipped_polygon_finder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bitmap:, matcher:, start_x:, end_x:, options: {}) ⇒ ClippedPolygonFinder

Returns a new instance of ClippedPolygonFinder.



6
7
8
9
10
# File 'lib/contrek/finder/concurrent/clipped_polygon_finder.rb', line 6

def initialize(bitmap:, matcher:, start_x:, end_x:, options: {})
  @start_x = start_x
  @end_x = end_x
  super(bitmap, matcher, nil, options)
end

Instance Attribute Details

#end_xObject (readonly)

Returns the value of attribute end_x.



4
5
6
# File 'lib/contrek/finder/concurrent/clipped_polygon_finder.rb', line 4

def end_x
  @end_x
end

#start_xObject (readonly)

Returns the value of attribute start_x.



4
5
6
# File 'lib/contrek/finder/concurrent/clipped_polygon_finder.rb', line 4

def start_x
  @start_x
end