Exemple #1
0
 public void SetCuttingCurve(CuttingCurve curve)
 {
     if (curve.IsIntersectable(this))
     {
         cuttingCurves.Add(new CuttingCurveWrapper(curve, this));
         modelReady = false;
     }
 }
Exemple #2
0
        public void SetCuttingCurve(CuttingCurve curve)
        {
            if (!curve.IsIntersectable(this))
            {
                return;
            }

            cuttingCurves.Add(new CuttingCurveWrapper(curve, this));
            foreach (var orderedPatch in orderedPatches)
            {
                orderedPatch.ShouldRegenerate();
            }
        }