Lines Matching defs:jarc
82 Arc_ptr jarc = this;
85 npts += jarc->pwlArc->npts;
86 jarc = jarc->next;
87 } while( jarc != this );
99 Arc_ptr jarc = this;
102 TrimVertex *p = jarc->pwlArc->pts;
103 for( int i=0; i<jarc->pwlArc->npts; i++ )
104 p[i].nuid = jarc->nuid;
105 jarc = jarc->next;
106 } while( jarc != this );
124 for( Arc_ptr jarc = this->next; jarc != this; jarc = jarc->next ) {
125 if ( jarc->tail()[0] < leftpt ||
126 (jarc->tail()[0] <= leftpt && jarc->rhead()[0]<=leftpt)) {
127 leftpt = jarc->pwlArc->pts->param[0];
128 extrema[1] = jarc;
130 if ( jarc->tail()[0] > rightpt ||
131 (jarc->tail()[0] >= rightpt && jarc->rhead()[0] >= rightpt)) {
132 rightpt = jarc->pwlArc->pts->param[0];
133 extrema[3] = jarc;
135 if ( jarc->tail()[1] < botpt ||
136 (jarc->tail()[1] <= botpt && jarc->rhead()[1] <= botpt )) {
137 botpt = jarc->pwlArc->pts->param[1];
138 extrema[2] = jarc;
140 if ( jarc->tail()[1] > toppt ||
141 (jarc->tail()[1] >= toppt && jarc->rhead()[1] >= toppt)) {
142 toppt = jarc->pwlArc->pts->param[1];
143 extrema[0] = jarc;
174 Arc_ptr jarc = this;
180 jarc->show( );
181 jarc = jarc->next;
182 } while (jarc != this);
240 Arc_ptr jarc = this;
242 assert( (jarc->pwlArc != 0) || (jarc->bezierArc != 0) );
244 if (jarc->prev == 0 || jarc->next == 0) {
247 jarc->print( );
252 if (jarc->next->prev != jarc) {
255 jarc->print( );
260 if( jarc->pwlArc ) {
262 assert( jarc->pwlArc->npts >= 1 );
263 assert( jarc->pwlArc->npts < 100000 );
265 for( int i=0; i < jarc->pwlArc->npts-1; i++ )
266 assert( neq_vert( jarc->pwlArc->pts[i].param,
267 jarc->pwlArc->pts[i+1].param) );
270 if( jarc->prev->pwlArc ) {
271 if( jarc->tail()[1] != jarc->prev->rhead()[1] ) {
274 jarc->prev->show();
275 jarc->show();
279 if( jarc->tail()[0] != jarc->prev->rhead()[0] ) {
283 jarc->prev->show();
284 jarc->show();
289 if( jarc->next->pwlArc ) {
290 if( jarc->next->tail()[0] != jarc->rhead()[0] ) {
293 jarc->show();
294 jarc->next->show();
298 if( jarc->next->tail()[1] != jarc->rhead()[1] ) {
301 jarc->show();
302 jarc->next->show();
307 if( jarc->isbezier() ) {
308 assert( jarc->pwlArc->npts == 2 );
309 assert( (jarc->pwlArc->pts[0].param[0] == \
310 jarc->pwlArc->pts[1].param[0]) ||\
311 (jarc->pwlArc->pts[0].param[1] == \
312 jarc->pwlArc->pts[1].param[1]) );
315 jarc = jarc->next;
316 } while (jarc != this);
335 Arc::append( Arc_ptr jarc )
337 if( jarc != 0 ) {
338 next = jarc->next;
339 prev = jarc;