public void DrawViewportWires(IGH_PreviewArgs args) { DisplayPipeline dp = args.Display; foreach (EdgeConstraint_goo goo in this.m_data.NonNulls) { goo.GenerateDisplayCurve(); dp.DrawCurve(goo.DisplayCurve, Color.DarkRed, 2); dp.DrawPoints(((PolylineCurve)goo.DisplayCurve).ToPolyline(), PointStyle.ArrowTip, 3, Color.Black); } }
public void DrawViewportWires(IGH_PreviewArgs args) { DisplayPipeline dp = args.Display; foreach (EdgeSpan_goo goo in this.m_data.NonNulls) { goo.GenerateDispMesh(); goo.GenerateDispCurves(); dp.DrawMeshWires(goo.dispMsh, Color.DarkGray); dp.DrawCurve(goo.span, Color.DarkRed, 2); } }