164 PwlArc *lastpwl = botarc->prev->pwlArc;
180 PwlArc *lastpwl = botarc->prev->pwlArc;
197 REAL denom =
a->param[1] -
b->param[1];
200 if( vval ==
a->param[1] ) {
201 c->param[0] =
a->param[0];
202 c->param[1] =
a->param[1];
205 }
else if( vval ==
b->param[1] ) {
206 c->param[0] =
b->param[0];
207 c->param[1] =
b->param[1];
211 REAL r = (
a->param[1] - vval)/denom;
212 c->param[0] =
a->param[0] -
r * (
a->param[0] -
b->param[0]);
217 c->param[0] =
a->param[0];
218 c->param[1] =
a->param[1];
void triangle(TrimVertex *, TrimVertex *, TrimVertex *)
void init(Arc_ptr a, long first, long last)
TrimVertex * getprevpt(void)
TrimVertex * getnextpt(void)
void append(TrimVertex *)
void getNextPts(REAL, Backend &)
static long interpvert(TrimVertex *, TrimVertex *, TrimVertex *, REAL)
void getPrevPts(REAL, Backend &)
GLdouble GLdouble GLdouble r
GLdouble GLdouble GLdouble GLdouble q
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
class TrimVertex * TrimVertex_p