public Edge(Point2D edgeStart, Point2D edgeEnd)
 {
     mP = edgeStart;
     mQ = edgeEnd;
 }
 public Edge()
 {
     mP = null;
     mQ = null;
 }
Exemplo n.º 3
0
        public Point2D GetCenter()
        {
            Point2D p = new Point2D((Left + Right) / 2, (Bottom + Top) / 2);

            return(p);
        }
Exemplo n.º 4
0
 public bool ContainsInclusive(Point2D p, double epsilon)
 {
     return(ContainsInclusive(p.X, p.Y, epsilon));
 }
Exemplo n.º 5
0
 public bool ContainsInclusive(Point2D p)
 {
     return(ContainsInclusive(p.X, p.Y));
 }
Exemplo n.º 6
0
 public bool Contains(Point2D p)
 {
     return(Contains(p.X, p.Y));
 }