solid-wedge

Category: Image procedures

Documentation

;;; (solid-wedge radius angle color [description]) -> image?
;;;   radius : nonnegative-real?
;;;   angle : real?
;;;   color : color?
;;;   description : string?
;;; A wedge with the given radius, angle, and color.

Examples

> (solid-wedge 40 30 "blue")
a solid blue wedge of radius 40 and angle 30
> (solid-wedge 40 90 "red")
a solid red wedge of radius 40 and angle 90
> (solid-wedge 40 120 "green")
a solid green wedge of radius 40 and angle 120
> (solid-wedge 40 270 "purple")
a solid purple wedge of radius 40 and angle 270
> (rotate (solid-wedge 40 30 "blue") 150)
a solid blue wedge of radius 40 and angle 30, rotated by 150 degrees

Tests

Forthcoming

See also

solid-circle

Questions

Forthcoming