Commit 0c04c84f authored by GoshaZotov's avatar GoshaZotov

for calculate faces

parent 5e93744d
...@@ -11506,6 +11506,12 @@ drawSurfaceChart.prototype = ...@@ -11506,6 +11506,12 @@ drawSurfaceChart.prototype =
res = [p1, p2]; res = [p1, p2];
} }
else if(clearIntersectionPoints.length === 1)//одна точка, не равняющиеся ни одной точке сегмента
{
var p1 = clearIntersectionPoints[0];
res = [p1];
}
} }
else if(segmentIntersectionPoints.length && clearIntersectionPoints.length) else if(segmentIntersectionPoints.length && clearIntersectionPoints.length)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment