Exemplo 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);
     }
 }
Exemplo n.º 2
0
 public override bool Equals(ISupportPoint other) => other is EnterSupportPoint otherEnterPoint && otherEnterPoint.Point == Point;
Exemplo n.º 3
0
 public abstract bool Equals(ISupportPoint other);
Exemplo n.º 4
0
 public override bool Equals(ISupportPoint other) => other is IntersectSupportPoint otherIntersect && otherIntersect.LinePair == LinePair;
Exemplo n.º 5
0
 private bool Match(MarkupLine intersectLine, ISupportPoint supportPoint) => supportPoint is IntersectSupportPoint lineRuleEdge && lineRuleEdge.LinePair.ContainLine(intersectLine);
Exemplo n.º 6
0
 public override bool Equals(ISupportPoint other) => other is CrosswalkBorderEdge otherBorder && otherBorder.Border == Border;
Exemplo 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);
 }
Exemplo n.º 8
0
 public override bool Equals(ISupportPoint other) => other is EnterSupportPoint otherEnterPoint && Equals(otherEnterPoint);
Exemplo n.º 9
0
 bool IEquatable <ISupportPoint> .Equals(ISupportPoint other) => true;
Exemplo n.º 10
0
 bool IEquatable <ISupportPoint> .Equals(ISupportPoint other) => other is IntersectSupportPoint otherIntersect && Equals(otherIntersect);
Exemplo n.º 11
0
 bool IEquatable <ISupportPoint> .Equals(ISupportPoint other) => other is EnterSupportPoint otherEnterPoint && Equals(otherEnterPoint);