
/* Generated by Interface Builder */

#import "CPlotStorage.h"

@implementation CPlotStorage

- storeX:(float *)x Y:(float *)y
{
	[self addElement:x];	
	[self addElement:y];	
	return self;
}

- retrieveX:(float *)x Y:(float *)y
{
	float X, Y;

	X = *((float *)[self elementAt:0]);
	Y = *((float *)[self elementAt:1]);
	*x = X; *y = Y;
	[self removeAt:1];
	[self removeAt:0];
	return self;
}

@end
