Exemplo n.º 1
0
        public bool IsCrossedWith(TS_side side2)
        {
            TS_point crossPoint = Line.Intersection(side2.Line);

            if (IsContain(crossPoint) && side2.IsContain(crossPoint))
            {
                return(true);
            }
            return(false);
        }
Exemplo n.º 2
0
        public TS_point CrossedPoint(TS_side side2)
        {
            TS_point point = Line.Intersection(side2.Line);

            if (IsContain(point))
            {
                return(point);
            }

            return(new TS_point());
        }
Exemplo n.º 3
0
 public TS_line(TS_side division)
 {
     Point1 = division.StartPoint;
     Point2 = division.EndPoint;
     ReCalcMe();
 }