40 #include "glimports.h"
56 assert( head == NULL);
65 Bin::remove_this_arc( Arc_ptr arc )
68 for( j = &(head); (*j != 0) && (*j != arc); j = &((*j)->link) );
86 for( Arc_ptr jarc = firstarc(); jarc; jarc = nextarc() )
102 while( (orphan = removearc()) != NULL ) {
103 for( Arc_ptr parent = orphan->next; parent != orphan; parent = parent->next ) {
104 if (! parent->ismarked() ) {
105 orphan->link = parent->link;
106 parent->link = orphan;
121 Bin::show(
char *name )
124 _glu_dprintf(
"%s\n", name );
125 for( Arc_ptr jarc = firstarc(); jarc; jarc = nextarc() )
140 for( Arc_ptr jarc=firstarc(); jarc; jarc=nextarc() )
150 Bin::listBezier(
void )
152 for( Arc_ptr jarc=firstarc(); jarc; jarc=nextarc() ) {
153 if( jarc->isbezier( ) ) {
154 assert( jarc->pwlArc->npts == 2 );
157 REAL s1 = pts[0].param[0];
158 REAL t1 = pts[0].param[1];
159 REAL s2 = pts[1].param[0];
160 REAL t2 = pts[1].param[1];
161 _glu_dprintf(
"arc (%g,%g) (%g,%g)\n", s1, t1, s2, t2 );