Commit 7f07b48e authored by jean-pierre charras's avatar jean-pierre charras
Browse files

Pcbnew: Update incorrect or incomplete copyrights in many files.

Minor code cleaning in autoroute files.
parent fc9e25fc
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
@@ -3,6 +3,30 @@
 * @brief Kicad: Common plot PDF Routines
 */

/*
 * This program source code file is part of KiCad, a free EDA CAD application.
 *
 * Copyright (C) 1992-2012 Lorenzo Marcantonio, l.marcantonio@logossrl.com
 * Copyright (C) 1992-2012 KiCad Developers, see AUTHORS.txt for contributors.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, you may find one here:
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * or you may search the http://www.gnu.org website for the version 2 license,
 * or you may write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 */

#include <fctsys.h>
#include <appl_wxstruct.h>
#include <trigo.h>
+518 −518

File changed.

Preview size limit exceeded, changes collapsed.

+1 −27
Original line number Diff line number Diff line
@@ -170,32 +170,6 @@ protected:
     */
    virtual bool isAutoSaveRequired() const;

    /**
     * Function propagate
     * Used now only in autoplace calculations
     * Uses the routing matrix to fill the cells within the zone
     * Search and mark cells within the zone, and agree with DRC options.
     * Requirements:
     * Start from an initial point, to fill zone
     * The zone must have no "copper island"
     *  Algorithm:
     *  If the current cell has a neighbor flagged as "cell in the zone", it
     *  become a cell in the zone
     *  The first point in the zone is the starting point
     *  4 searches within the matrix are made:
     *          1 - Left to right and top to bottom
     *          2 - Right to left and top to bottom
     *          3 - bottom to top and Right to left
     *          4 - bottom to top and Left to right
     *  Given the current cell, for each search, we consider the 2 neighbor cells
     *  the previous cell on the same line and the previous cell on the same column.
     *
     *  This function can request some iterations
     *  Iterations are made until no cell is added to the zone.
     *  @return: added cells count (i.e. which the attribute CELL_is_ZONE is set)
     */
    int propagate();

    /**
     * Function duplicateZone
     * duplicates the given zone.
@@ -1460,7 +1434,7 @@ public:
     * The cost is the longest ratsnest distance with penalty for connections
     * approaching 45 degrees.
     */
    float Compute_Ratsnest_PlaceModule( wxDC* DC );
    double Compute_Ratsnest_PlaceModule( wxDC* DC );

    /**
     * Function GenPlaceBoard
+2 −1
Original line number Diff line number Diff line
/*
 * This program source code file is part of KiCad, a free EDA CAD application.
 *
 * Copyright (C) 2006 Jean-Pierre Charras, jaen-pierre.charras@gipsa-lab.inpg.com
 * Copyright (C) 2012 Jean-Pierre Charras, jean-pierre.charras@ujf-grenoble.fr
 * Copyright (C) 2012 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
 * Copyright (C) 2011 Wayne Stambaugh <stambaughw@verizon.net>
 * Copyright (C) 1992-2011 KiCad Developers, see AUTHORS.txt for contributors.
 *
+4 −2
Original line number Diff line number Diff line
/*
 * This program source code file is part of KiCad, a free EDA CAD application.
 *
 * Copyright (C) 2009 Jean-Pierre Charras, jaen-pierre.charras@gipsa-lab.inpg.com
 * Copyright (C) 2012 Jean-Pierre Charras, jean-pierre.charras@ujf-grenoble.fr
 * Copyright (C) 2012 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
 * Copyright (C) 2011 Wayne Stambaugh <stambaughw@verizon.net>
 * Copyright (C) 1992-2011 KiCad Developers, see AUTHORS.txt for contributors.
 *
 * Copyright (C) 1992-2012 KiCad Developers, see AUTHORS.txt for contributors.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
Loading