struct Goishi::Quad

Defined in:

goishi/data_types/quad.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pair1 : Tuple(Point, Point), pair2 : Tuple(Point, Point), center : Goishi::Point, color : UInt8) #

[View source]

Instance Method Detail

def a : Point #

[View source]
def ab : Point #

def ac : Point #

def ad : Point #

def add_to_visualizer(text : String) #

[View source]
def b : Point #

[View source]
def ba : Point #

def bc : Point #

def bd : Point #

def c : Point #

[View source]
def ca : Point #

def cb : Point #

def cd : Point #

def center : Point #

[View source]
def closer_vec(vec : Point) #

[View source]
def color : UInt8 #

[View source]
def d : Point #

[View source]
def da : Point #

def db : Point #

def dc : Point #

def h_vec : Point #

[View source]
def height : Float64 #

[View source]
def inner_a : Point #

def inner_b : Point #

def inner_c : Point #

def inner_d : Point #

def intersecting_side(to_quad : Quad) #

[View source]
def w_vec : Point #

[View source]
def width : Float64 #

[View source]