segment.setStart(points[i-1]); segment.setEnd(points[i]); multi_path.addSegment(segment, false);
cutEvents.get(icutEvent).m_scalarCuttee1, segmentBufferCuttee); multipath.addSegment(segmentBufferCuttee.get(), bStartNewPath); } else segmentCuttee.cut(lastScalarCuttee, scalarCuttee, segmentBufferCuttee); multipath.addSegment(segmentBufferCuttee.get(), bStartNewPath); cutPair = new OperatorCutLocal.CutPair( segmentCuttee.cut(lastScalarCuttee, scalarCuttee, segmentBufferCuttee); multipath.addSegment(segmentBufferCuttee.get(), bStartNewPath); } else segmentCuttee.cut(lastScalarCuttee, 1.0, segmentBufferCuttee); multipath.addSegment(segmentBufferCuttee.get(), bStartNewPath); } else
cutEvents.get(icutEvent).m_scalarCuttee1, segmentBufferCuttee); multipath.addSegment(segmentBufferCuttee.get(), bStartNewPath); } else segmentCuttee.cut(lastScalarCuttee, scalarCuttee, segmentBufferCuttee); multipath.addSegment(segmentBufferCuttee.get(), bStartNewPath); cutPair = new OperatorCutLocal.CutPair( segmentCuttee.cut(lastScalarCuttee, scalarCuttee, segmentBufferCuttee); multipath.addSegment(segmentBufferCuttee.get(), bStartNewPath); } else segmentCuttee.cut(lastScalarCuttee, 1.0, segmentBufferCuttee); multipath.addSegment(segmentBufferCuttee.get(), bStartNewPath); } else
result_poly.addSegment(sub_seg, b_start_new_path); b_start_new_path = false; inside = seg_plane_intersection_status; if (inside == 1) { result_poly.addSegment(segment, b_start_new_path); b_start_new_path = false; } else
result_poly.addSegment(sub_seg, b_start_new_path); b_start_new_path = false; inside = seg_plane_intersection_status; if (inside == 1) { result_poly.addSegment(segment, b_start_new_path); b_start_new_path = false; } else
} else { if (!bIsClosing) densifiedPoly.addSegment(seg, bStartNewPath); else densifiedPoly.closePathWithLine();
} else { if (!bIsClosing) densifiedPoly.addSegment(seg, bStartNewPath); else densifiedPoly.closePathWithLine();