Module: NSWTopo::Spot::Candidate

Defined in:
lib/nswtopo/layer/spot.rb

Defined Under Namespace

Modules: PreferKnolls, PreferNeither, PreferSaddles

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#conflictsObject

Returns the value of attribute conflicts.



44
45
46
# File 'lib/nswtopo/layer/spot.rb', line 44

def conflicts
  @conflicts
end

#elevationObject

Returns the value of attribute elevation.



44
45
46
# File 'lib/nswtopo/layer/spot.rb', line 44

def elevation
  @elevation
end

#knollObject

Returns the value of attribute knoll.



44
45
46
# File 'lib/nswtopo/layer/spot.rb', line 44

def knoll
  @knoll
end

Instance Method Details

#<=>(other) ⇒ Object



58
59
60
# File 'lib/nswtopo/layer/spot.rb', line 58

def <=>(other)
  self.ordinal <=> other.ordinal
end