1 /**************************************************************************
3 * Copyright (C) 1999, Silicon Graphics, Inc. *
5 * These coded instructions, statements, and computer programs contain *
6 * unpublished proprietary information of Silicon Graphics, Inc., and *
7 * are protected by Federal copyright law. They may not be disclosed *
8 * to third parties or copied or duplicated in any form, in whole or *
9 * in part, without the prior written consent of Silicon Graphics, Inc. *
11 **************************************************************************/
16 * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/internals/monotonizer.h,v 1.1 2001/03/17 00:25:41 brianp Exp $
19 #ifndef __glumonotonizer_h_
20 #define __glumonotonizer_h_
33 ArcTessellator
& arctessellator
;
38 enum dir
{ down
, same
, up
, none
};
39 void tessellate( Arc
*, REAL
);
40 void monotonize( Arc
*, Bin
& );
41 int isMonotone( Arc
* );
43 Monotonizer( ArcTessellator
& at
, Pool
& ap
, Pool
& p
, jmp_buf& j
)
44 : arctessellator(at
), arcpool(ap
), pwlarcpool(p
), nurbsJmpBuf(j
) {}
45 int decompose( Bin
&, REAL
);
47 #endif /* __glumonotonizer_h_ */