Example #1
0
 public double HorizontalDistance(OCVLineData line2)
 {
     if (this.IsVertical() && line2.IsVertical())
     {
         return(Math.Abs(GetX() - line2.GetX()));
     }
     else
     {
         return(-1);
     }
 }
Example #2
0
 protected override double GetLocation(OCVLineData line)
 {
     return(line.GetX());
 }