/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package calculointereseccion;

/**
 *
 * @author SALA211D
 */
public class CalculoIntereseccion {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        
        
        double n1 = 123;
        double n2 = 356;
        
        Punto p1 = new Punto(n1 , n2);
        
        Punto p2 = new Punto();
        p2.setCoordX(123);
        p2.setCoordY(356);
        
        Punto listaPuntos1[] = new Punto [2];
        listaPuntos1 [0] = p1;
        listaPuntos1 [1] = p2;
                
        Poligono poligono1 = new Poligono("Mi primer poligono", "VERDE", listaPuntos1);
        poligono1.imprimirPoligono ();        
        
        
        
        
    }
    
}
