module NSWTopo::Spot::Candidate

Public Instance Methods

<=>(other) click to toggle source
# File lib/nswtopo/layer/spot.rb, line 58
def <=>(other)
  self.ordinal <=> other.ordinal
end
bounds(buffer = 0) click to toggle source
# File lib/nswtopo/layer/spot.rb, line 62
def bounds(buffer = 0)
  coordinates.map { |coordinate| [coordinate - buffer, coordinate + buffer] }
end
conflicts() click to toggle source
# File lib/nswtopo/layer/spot.rb, line 54
def conflicts
  @conflicts ||= Set[]
end