Пример #1
0
        private Point method_4(Edge edge_0, Edge edge_1)
        {
            ngeometry.VectorGeometry.Line line  = edge_0.ToLine();
            ngeometry.VectorGeometry.Line line2 = edge_1.ToLine();
            ngeometry.VectorGeometry.Line line3 = line.Invert();
            ngeometry.VectorGeometry.Line l     = line2.Invert();
            Point left   = line.IntersectXY(line2);
            Point point  = line.IntersectXY(l);
            Point point2 = line3.IntersectXY(line2);
            Point point3 = line3.IntersectXY(l);

            if (!(left == null) && !(point == null) && !(point2 == null) && !(point3 == null))
            {
                return(0.25 * (left + point + point2 + point3));
            }
            return(null);
        }
Пример #2
0
 public Point method_4(Line line)
 {
     return(line.method_8(this));
 }
Пример #3
0
 public PointSet method_1(Line line)
 {
     return(line.method_2(this));
 }
Пример #4
0
 public bool IsParallelTo(Line line)
 {
     return(line.IsParallelTo(this));
 }
Пример #5
0
 public bool IsCoplanarTo(Line line)
 {
     return(line.IsCoplanarTo(this));
 }
Пример #6
0
 public bool Intersects3d(Line line)
 {
     return(this.method_4(line) != null);
 }
Пример #7
0
 public bool Intersects2d(Line line)
 {
     return(line.Intersects2d(this));
 }