class Phase::Arc

Defined in:

phase/arc.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(x : Float64 = 0_f32, y : Float64 = 0_f32, inner_radius : Float64 = 1, outer_radius : Float64 = 1) #

[View source]

Instance Method Detail

def inner_radius : Float64 #

[View source]
def inner_radius=(inner_radius : Float64) #

[View source]
def intersects?(box : Box) #

TODO doesn't account for inner_radius currently just intersection of outer circle


[View source]
def intersects?(circle : Circle) #

[View source]
def outer_radius : Float64 #

[View source]
def outer_radius=(outer_radius : Float64) #

[View source]
def x : Float64 #

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

[View source]
def y : Float64 #

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

[View source]