#import "Clipper.h"

@implementation Clipper
 
- (double)upperLimit {return upperLimit;}

- (double)lowerLimit {return lowerLimit;}

- setUpperLimit:(double)value{
	upperLimit=value;
	return self;
}
- setLowerLimit:(double)value{
	lowerLimit=value;
	return self;
}

- compute
{
	/*  Here is where this object would "do its thing" based on the parameter
		values set via the inspector.  In this example, we do nothing... */
	return self;
}

- (const char *)getInspectorClassName
{
	return "ClipperInspector";
}

- setLabel:(const char *)aString
{
	if(label)NXZoneFree([self zone],label);
	label=NXCopyStringBufferFromZone(aString,[self zone]);
	return self;
}

- (const char *)label {return label;}

@end