struct AdventOfCode2021::Day22::Cuboid

Defined in:

day22/day22.cr

Constructors

Instance Method Summary

Constructor Detail


[View source]
def self.new(str : String) #

[View source]

Instance Method Detail

def ==(other : Cuboid) #

[View source]
def has_intersection?(other : Cuboid) : Bool #

[View source]
def includes?(other : Cuboid) : Bool #

[View source]
def intersection(other : Cuboid) : Cuboid #

[View source]
def is_on? #

[View source]
def op : Operation #

[View source]
def op=(op : Operation) #

[View source]
def size : Int64 #

[View source]
def split_by(other : Cuboid) : Array(Cuboid) #

[View source]
def to_s(io : IO) : Nil #
Description copied from struct Struct

Same as #inspect(io).


[View source]
def x : Range #

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

[View source]
def y : Range #

[View source]
def y=(y : Range) #

[View source]
def z : Range #

[View source]
def z=(z : Range) #

[View source]