/* geom_type.h */

#ifndef _GEOM_TYPE_H_
#define _GEOM_TYPE_H_

#include "bounds.h"
#include "geom_methods.h"

typedef struct GEOM {
	void 	*obj;
	struct GEOM_METHODS	*methods;
	BOUNDINGBOX bounds;
	char 	bounded;   /* set to 0 to avoid bounding volume tests */
} GEOM;

#define GEOMBOUNDED(geom) (geom->bounded)

#endif /*_GEOM_TYPE_H_*/

