class Phase::Arc
- Phase::Arc
- Reference
- Object
Defined in:
phase/arc.crConstructors
Instance Method Summary
- #inner_radius : Float64
- #inner_radius=(inner_radius : Float64)
-
#intersects?(box : Box)
TODO doesn't account for inner_radius currently just intersection of outer circle
- #intersects?(circle : Circle)
- #outer_radius : Float64
- #outer_radius=(outer_radius : Float64)
- #x : Float64
- #x=(x : Float64)
- #y : Float64
- #y=(y : Float64)
Constructor Detail
def self.new(x : Float64 = 0_f32, y : Float64 = 0_f32, inner_radius : Float64 = 1, outer_radius : Float64 = 1)
#
Instance Method Detail
TODO doesn't account for inner_radius currently just intersection of outer circle