Subversion Repositories DIN Is Noise

Rev

Rev 2191 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2191 Rev 2197
Line 130... Line 130...
130
130
131
  vpts.clear (); for (list<crvpt>::const_iterator p = LIST_OF_POINTS.begin (), q = LIST_OF_POINTS.end (); p != q; ++p) vpts.push_back (*p);
131
  vpts.clear (); for (list<crvpt>::const_iterator p = LIST_OF_POINTS.begin (), q = LIST_OF_POINTS.end (); p != q; ++p) vpts.push_back (*p);
132
132
133
  if (find_length) calc_length ();
133
  if (find_length) calc_length ();
134
134
135
  eval = COMPLETE;
135
  eval = 0;
136
136
137
}
137
}
138
138
139
void curve::set_limit (float l) {
139
void curve::set_limit (float l) {
140
  limit2 = l * l;
140
  limit2 = l * l;
141
  eval = REQUIRED;
141
  eval = 1;
142
}
142
}
143
143
144
float curve::calc_length () {
144
float curve::calc_length () {
145
  // return length of the curve
145
  // return length of the curve
146
  // ie sum of lengths of all line segments that make the curve
146
  // ie sum of lengths of all line segments that make the curve