18 instantiations of ConnectorSegment
System.Workflow.ComponentModel (18)
AuthoringOM\Design\Connector.cs (18)
2118coverSet.AddUsedEscapeLine(new ConnectorSegment(Z, r1));
2119coverSet.AddUsedEscapeLine(new ConnectorSegment(r1, (Point)escape));
2141coverSet.AddUsedEscapeLine(new ConnectorSegment(Z, r2));
2142coverSet.AddUsedEscapeLine(new ConnectorSegment(r2, (Point)escape));
2164coverSet.AddUsedEscapeLine(new ConnectorSegment(Z, r3));
2165coverSet.AddUsedEscapeLine(new ConnectorSegment(r3, (Point)escape));
2187coverSet.AddUsedEscapeLine(new ConnectorSegment(Z, r4));
2188coverSet.AddUsedEscapeLine(new ConnectorSegment(r4, (Point)escape));
2260ConnectorSegment newEscapeLine = new ConnectorSegment(Z, escapePoint);
2491ConnectorSegment c = new ConnectorSegment(c1, c2);
2699return new ConnectorSegment(p, newPoint);
2744ConnectorSegment h = new ConnectorSegment(left, right);
2756ConnectorSegment v = new ConnectorSegment(bottom, top);
2791AddCover(new ConnectorSegment(new Point(rectangle.Left, rectangle.Top), new Point(rectangle.Left, rectangle.Bottom)));
2792AddCover(new ConnectorSegment(new Point(rectangle.Right, rectangle.Top), new Point(rectangle.Right, rectangle.Bottom)));
2793AddCover(new ConnectorSegment(new Point(rectangle.Left, rectangle.Top), new Point(rectangle.Right, rectangle.Top)));
2794AddCover(new ConnectorSegment(new Point(rectangle.Left, rectangle.Bottom), new Point(rectangle.Right, rectangle.Bottom)));
2799AddCover(new ConnectorSegment(linesToExclude[i * 2], linesToExclude[(i * 2) + 1]));
100 references to ConnectorSegment
System.Workflow.ComponentModel (100)
AuthoringOM\Design\Connector.cs (100)
1861List<ConnectorSegment> LhA = new List<ConnectorSegment>();
1862List<ConnectorSegment> LvA = new List<ConnectorSegment>();
1865List<ConnectorSegment> LhB = new List<ConnectorSegment>();
1866List<ConnectorSegment> LvB = new List<ConnectorSegment>();
1879ConnectorSegment intersectionSegmentA = null;
1880ConnectorSegment intersectionSegmentB = null;
1914List<ConnectorSegment> tempListSegm = LhA;
1956List<ConnectorSegment> tempListSegm = LhA;
2015ref List<Point> LeA, ref List<ConnectorSegment> LhA, ref List<ConnectorSegment> LvA, ref List<ConnectorSegment> LhB, ref List<ConnectorSegment> LvB,
2016ref Orientation orientationA, out ConnectorSegment intersectionSegmentA, out ConnectorSegment intersectionSegmentB, Size margin, ref bool noEscapeA)
2022ConnectorSegment leftCover = coverSet.GetCover(Z, DesignerEdges.Left);
2023ConnectorSegment rightCover = coverSet.GetCover(Z, DesignerEdges.Right);
2024ConnectorSegment bottomCover = coverSet.GetCover(Z, DesignerEdges.Bottom);
2025ConnectorSegment topCover = coverSet.GetCover(Z, DesignerEdges.Top);
2028ConnectorSegment h = ConnectorSegment.SegmentFromLeftToRightCover(coverSet, Z);
2031ConnectorSegment v = ConnectorSegment.SegmentFromBottomToTopCover(coverSet, Z);
2038ConnectorSegment segment = LvB[i];
2050ConnectorSegment segment = LhB[i];
2204ConnectorSegment escapeLine, Orientation orientation, Size margin)
2212ConnectorSegment lesserCover = coverSet.GetCover(Z, (orientation == Orientation.Horizontal) ? DesignerEdges.Left : DesignerEdges.Bottom);
2219ConnectorSegment higherCover = coverSet.GetCover(Z, (orientation == Orientation.Horizontal) ? DesignerEdges.Right : DesignerEdges.Top);
2237ConnectorSegment segment = extremitiesList[i].ConnectorSegment;
2260ConnectorSegment newEscapeLine = new ConnectorSegment(Z, escapePoint);
2273private static void AddBoundPoint(ref List<DistanceFromPoint> extremitiesList, Point p, ConnectorSegment segment, Point Z)
2282ref List<ConnectorSegment> LhA, ref List<ConnectorSegment> LvA, ref List<ConnectorSegment> LhB, ref List<ConnectorSegment> LvB,
2283Point Z, Point R, Size margin, out bool intersectionFlag, out ConnectorSegment intersectionSegmentA, out ConnectorSegment intersectionSegmentB)
2290ConnectorSegment h = ConnectorSegment.SegmentFromLeftToRightCover(coverSet, R);
2291ConnectorSegment v = ConnectorSegment.SegmentFromBottomToTopCover(coverSet, R);
2296ConnectorSegment segment = LvB[i];
2309ConnectorSegment segment = LhB[i];
2370private static List<Point> FirstRefinementAlgorithm(List<Point> Le, Point intersection, ConnectorSegment intersectionSegment)
2373ConnectorSegment k = intersectionSegment;
2417ConnectorSegment a = ConnectorSegment.ConstructBoundSegment(coverSet, a1, a2);
2426ConnectorSegment b = ConnectorSegment.ConstructBoundSegment(coverSet, b1, b2);
2468ConnectorSegment a = ConnectorSegment.ConstructBoundSegment(coverSet, a1, a2);
2484ConnectorSegment b = ConnectorSegment.ConstructBoundSegment(coverSet, k, (a.Orientation == Orientation.Horizontal) ? Orientation.Vertical : Orientation.Horizontal);
2491ConnectorSegment c = new ConnectorSegment(c1, c2);
2535public ConnectorSegment ConnectorSegment;
2539public DistanceFromPoint(ConnectorSegment segment, Point z, Point p)
2543this.Distance = ConnectorSegment.DistanceBetweenPoints(z, p);
2624public Nullable<Point> Intersect(ConnectorSegment segment)
2629ConnectorSegment vertical = (this.orientation == Orientation.Vertical) ? this : segment;
2630ConnectorSegment horizontal = (this.orientation == Orientation.Vertical) ? segment : this;
2690public ConnectorSegment PeprendecularThroughPoint(Point p)
2726public static ConnectorSegment ConstructBoundSegment(CoverSet coverSet, Point a, Point b)
2736public static ConnectorSegment SegmentFromLeftToRightCover(CoverSet coverSet, Point p)
2738ConnectorSegment leftCover = coverSet.GetCover(p, DesignerEdges.Left);
2739ConnectorSegment rightCover = coverSet.GetCover(p, DesignerEdges.Right);
2744ConnectorSegment h = new ConnectorSegment(left, right);
2748public static ConnectorSegment SegmentFromBottomToTopCover(CoverSet coverSet, Point p)
2750ConnectorSegment bottomCover = coverSet.GetCover(p, DesignerEdges.Bottom);
2751ConnectorSegment topCover = coverSet.GetCover(p, DesignerEdges.Top);
2756ConnectorSegment v = new ConnectorSegment(bottom, top);
2760public static ConnectorSegment ConstructBoundSegment(CoverSet coverSet, Point a, Orientation orientation)
2767ConnectorSegment segment = obj as ConnectorSegment;
2783private List<ConnectorSegment> verticalCovers = new List<ConnectorSegment>();
2784private List<ConnectorSegment> horizontalCovers = new List<ConnectorSegment>();
2785private List<ConnectorSegment> usedEscapeLine = new List<ConnectorSegment>();
2807public void AddCover(ConnectorSegment cover)
2809List<ConnectorSegment> covers = (cover.Orientation == Orientation.Vertical) ? this.verticalCovers : this.horizontalCovers;
2813ConnectorSegment existingCover = covers[i];
2846public void AddUsedEscapeLine(ConnectorSegment segment)
2852public bool EscapeLineHasBeenUsed(ConnectorSegment segment, Point escapePoint)
2856ConnectorSegment usedSegment = this.usedEscapeLine[i];
2888public ConnectorSegment GetCover(Point p, DesignerEdges side)
2890ConnectorSegment cover = null;
2897ConnectorSegment segment = this.verticalCovers[i];
2913ConnectorSegment segment = this.horizontalCovers[i];
2930public List<ConnectorSegment> GetCovers(Point p, DesignerEdges side)
2932List<ConnectorSegment> covers = new List<ConnectorSegment>();
2938ConnectorSegment segment = this.verticalCovers[i];
2948ConnectorSegment segment = this.horizontalCovers[i];
2961ConnectorSegment originalCover = this.GetCover(origin, side);
2973List<ConnectorSegment> newCovers = this.GetCovers(escape, side);
2976ConnectorSegment newCover = newCovers[i];