protected override void SolveInstance(IGH_DataAccess DA) { // --- Input var curves = new List <Curve>(); var plane = default(Plane?); DA.GetDataList(0, curves); DA.GetData(1, ref plane); // --- Execute var result = BBPolyline.Boolean(ClipType.ctUnion, PolyFillType.pftNonZero, curves, new Curve[0], plane); // --- Output DA.SetDataList(0, result); }
protected override void SolveInstance(IGH_DataAccess DA) { // --- Input var curvesA = new List <Curve>(); var curvesB = new List <Curve>(); var plane = default(Plane?); DA.GetDataList(0, curvesA); DA.GetDataList(1, curvesB); DA.GetData(2, ref plane); // --- Execute var result = BBPolyline.Boolean(Operation, FillType, curvesA, curvesB, plane); // --- Output DA.SetDataList(0, result); }