Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
f50f31e5
Commit
f50f31e5
authored
Apr 30, 2013
by
Lorenzo Marcantonio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added include guard to math_for_graphics.h
parent
218fb338
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
math_for_graphics.h
polygon/math_for_graphics.h
+4
-0
No files found.
polygon/math_for_graphics.h
View file @
f50f31e5
#ifndef MATH_FOR_GRAPHICS_H
#define MATH_FOR_GRAPHICS_H
// math stuff for graphics, from FreePCB
// math stuff for graphics, from FreePCB
/* Function FindLineSegmentIntersection
/* Function FindLineSegmentIntersection
...
@@ -61,3 +63,5 @@ double GetPointToLineSegmentDistance( int x, int y, int xi, int yi, int xf, int
...
@@ -61,3 +63,5 @@ double GetPointToLineSegmentDistance( int x, int y, int xi, int yi, int xf, int
double
GetPointToLineDistance
(
double
a
,
double
b
,
int
x
,
int
y
,
double
*
xp
=
NULL
,
double
*
yp
=
NULL
);
double
GetPointToLineDistance
(
double
a
,
double
b
,
int
x
,
int
y
,
double
*
xp
=
NULL
,
double
*
yp
=
NULL
);
double
Distance
(
double
x1
,
double
y1
,
double
x2
,
double
y2
);
double
Distance
(
double
x1
,
double
y1
,
double
x2
,
double
y2
);
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment