Esempio n. 1
0
 private bool GetT(ISupportPoint partEdge, out float t)
 {
     if (partEdge != null)
     {
         return(partEdge.GetT(Line, out t));
     }
     else
     {
         t = -1;
         return(false);
     }
 }
Esempio n. 2
0
 public override bool Equals(ISupportPoint other) => other is EnterSupportPoint otherEnterPoint && otherEnterPoint.Point == Point;
Esempio n. 3
0
 public abstract bool Equals(ISupportPoint other);
Esempio n. 4
0
 public override bool Equals(ISupportPoint other) => other is IntersectSupportPoint otherIntersect && otherIntersect.LinePair == LinePair;
Esempio n. 5
0
 private bool Match(MarkupLine intersectLine, ISupportPoint supportPoint) => supportPoint is IntersectSupportPoint lineRuleEdge && lineRuleEdge.LinePair.ContainLine(intersectLine);
Esempio n. 6
0
 public override bool Equals(ISupportPoint other) => other is CrosswalkBorderEdge otherBorder && otherBorder.Border == Border;
Esempio n. 7
0
 public MarkupLinePart(MarkupLine line, ISupportPoint from = null, ISupportPoint to = null)
 {
     Line = line;
     From = new PropertyClassValue <ISupportPoint>(RuleChanged, from);
     To   = new PropertyClassValue <ISupportPoint>(RuleChanged, to);
 }
Esempio n. 8
0
 public override bool Equals(ISupportPoint other) => other is EnterSupportPoint otherEnterPoint && Equals(otherEnterPoint);
Esempio n. 9
0
 bool IEquatable <ISupportPoint> .Equals(ISupportPoint other) => true;
Esempio n. 10
0
 bool IEquatable <ISupportPoint> .Equals(ISupportPoint other) => other is IntersectSupportPoint otherIntersect && Equals(otherIntersect);
Esempio n. 11
0
 bool IEquatable <ISupportPoint> .Equals(ISupportPoint other) => other is EnterSupportPoint otherEnterPoint && Equals(otherEnterPoint);