This is VoronoiView.h in view mode; [Download] [Up]
#import <appkit/View.h> @interface VoronoiView:View { int nTotal,nLeft; NXPoint *sites; } - initFrame:(NXRect *)frameRect; - setUpVoronoi; - oneStep; - drawPolygon:(int)index; - drawSites; - drawSelf:(const NXRect *)rects :(int)rectCount; - (BOOL)useBufferedWindow; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.