class EightCorner::Figure
a Figure
is 8 connected points
Attributes
points[RW]
Public Class Methods
new()
click to toggle source
# File lib/eight_corner/figure.rb, line 7 def initialize @points = [] end
Public Instance Methods
potential()
click to toggle source
an overall potential based on the points in this figure for use as an input for another Base#plot
# File lib/eight_corner/figure.rb, line 13 def potential points.last.potential end