class StumpyCore::EdgeBucket

Defined in:

stumpy_utils/polygon.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_vertices(v1, v2) : EdgeBucket #

[View source]
def self.new(y_max : Int32, y_min : Int32, x : Int32, slope : Int32, delta_x : Int32, delta_y : Int32, sum : Int32 = 0) #

[View source]

Instance Method Detail

def delta_x : Int32 #

[View source]
def delta_y : Int32 #

[View source]
def slope : Int32 #

[View source]
def sum : Int32 #

[View source]
def sum=(sum : Int32) #

[View source]
def x : Int32 #

[View source]
def x=(x : Int32) #

[View source]
def y_max : Int32 #

[View source]
def y_min : Int32 #

[View source]