Move EDA_ANGLE to KiMath lib

KiMath should only depend on itself not on other elements in the tree
This commit is contained in:
Seth Hillbrand 2022-01-14 17:12:24 -08:00
parent de006fc010
commit 22a77d3556
15 changed files with 13 additions and 13 deletions

View File

@ -336,7 +336,6 @@ set( COMMON_SRCS
dialog_shim.cpp
gr_text.cpp
dsnlexer.cpp
eda_angle.cpp
eda_base_frame.cpp
eda_dde.cpp
eda_doc.cpp

View File

@ -26,12 +26,12 @@
#define GERBER_DRAW_ITEM_H
#include <eda_item.h>
#include <eda_angle.h>
#include <layer_ids.h>
#include <gr_basic.h>
#include <gbr_netlist_metadata.h>
#include <dcode.h>
#include <geometry/shape_poly_set.h>
#include <geometry/eda_angle.h>
class GERBER_FILE_IMAGE;
class GBR_LAYOUT;

View File

@ -25,8 +25,8 @@
#define PCBNEW_ARRAY_OPTIONS__H
#include <math/vector2d.h>
#include <eda_angle.h>
#include <array_axis.h>
#include <geometry/eda_angle.h>
/**
* Options that govern the setup of an "array" of multiple item.

View File

@ -35,9 +35,9 @@
#include <string>
#include <eda_units.h>
#include <eda_angle.h>
#include <convert_to_biu.h>
#include <math/vector2d.h>
#include <geometry/eda_angle.h>
//TODO: Abstract Base Units to a single class

View File

@ -28,12 +28,12 @@
#include <eda_item.h>
#include <eda_units.h>
#include <eda_angle.h>
#include <convert_to_biu.h>
#include <gr_basic.h>
#include <layer_ids.h>
#include <geometry/geometry_utils.h>
#include <stroke_params.h>
#include <geometry/eda_angle.h>
class BOARD;
class BOARD_ITEM_CONTAINER;

View File

@ -27,9 +27,9 @@
#include <memory>
#include <math/box2.h>
#include <eda_angle.h>
#include <geometry/shape_poly_set.h>
#include <wx/debug.h>
#include "../../libs/kimath/include/geometry/eda_angle.h"
namespace KIFONT

View File

@ -25,7 +25,7 @@
#include <wx/log.h>
#include <cmath>
#include <math/vector2d.h>
#include <eda_angle.h>
#include "../../libs/kimath/include/geometry/eda_angle.h"
class EDA_TEXT;

View File

@ -4,6 +4,7 @@ set( KIMATH_SRCS
src/md5_hash.cpp
src/trigo.cpp
src/geometry/eda_angle.cpp
src/geometry/circle.cpp
src/geometry/convex_hull.cpp
src/geometry/direction_45.cpp

View File

@ -32,8 +32,8 @@
#include <math.h> // for copysign
#include <stdlib.h> // for abs
#include <eda_angle.h>
#include <math/vector2d.h>
#include <geometry/eda_angle.h>
class EDA_RECT;

View File

@ -28,8 +28,8 @@
#include <geometry/shape.h>
#include <convert_to_biu.h>
#include <eda_angle.h>
#include <math/vector2d.h> // for VECTOR2I
#include <geometry/eda_angle.h>
class SHAPE_LINE_CHAIN;

View File

@ -26,7 +26,7 @@
#include <cmath>
#include <math/vector2d.h>
#include <eda_angle.h>
#include <geometry/eda_angle.h>
/**
* Test if \a aTestPoint is on line defined by \a aSegStart and \a aSegEnd.

View File

@ -18,7 +18,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <eda_angle.h>
#include <geometry/eda_angle.h>
EDA_ANGLE EDA_ANGLE::m_Angle0 = EDA_ANGLE( 0, DEGREES_T );

View File

@ -29,10 +29,10 @@
#include <zones.h>
#include <board_connected_item.h>
#include <convert_to_biu.h>
#include <eda_angle.h>
#include <geometry/shape_poly_set.h>
#include <geometry/shape_compound.h>
#include <pad_shapes.h>
#include <geometry/eda_angle.h>
class PCB_SHAPE;
class PARAM_CFG;

View File

@ -25,7 +25,7 @@
#define TOOL_EVENT_UTILS_H
#include <tool/tool_interactive.h>
#include <eda_angle.h>
#include <geometry/eda_angle.h>
class PCB_BASE_EDIT_FRAME;