Showing 1 of 1 files from the diff.
@@ -193,11 +193,11 @@
Loading
193 | 193 | ||
194 | 194 | // we always want to include the endpoint, if it's the same as the startpoint |
|
195 | 195 | // we use the middle to enforce closing of the spline |
|
196 | - | gp_Pnt pStart = points.front().Get_gp_Pnt(); |
|
197 | - | gp_Pnt pEnd = points.back().Get_gp_Pnt(); |
|
196 | + | gp_Pnt pStart = points.front().Get_gp_Pnt(); |
|
197 | + | gp_Pnt pEnd = points.back().Get_gp_Pnt(); |
|
198 | 198 | ||
199 | 199 | // this check allows some tolerance, based on the absolute size of the profile |
|
200 | - | if (pStart.Distance(pEnd) < 0.005*CTiglBSplineAlgorithms::scale(occPoints->Array1())) { |
|
200 | + | if (pStart.Distance(pEnd) < 0.005 * CTiglBSplineAlgorithms::scale(occPoints->Array1())) { |
|
201 | 201 | gp_Pnt pMiddle = 0.5 * (pStart.XYZ() + pEnd.XYZ()); |
|
202 | 202 | occPoints->SetValue(occPoints->Lower(), pMiddle); |
|
203 | 203 | occPoints->SetValue(occPoints->Upper(), pMiddle); |
Files | Coverage |
---|---|
src | 69.44% |
Project Totals (425 files) | 69.44% |
314943148
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.