Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
Inkscape
extensions
Commits
9b21776f
Commit
9b21776f
authored
May 03, 2020
by
Matthias Meschede
Browse files
better docstring
parent
07cec958
Changes
1
Hide whitespace changes
Inline
Side-by-side
inkex/bezier.py
View file @
9b21776f
...
...
@@ -34,7 +34,7 @@ from .localization import inkex_gettext as _
# bez = ((bx0,by0),(bx1,by1),(bx2,by2),(bx3,by3))
def
pointdistance
(
point_a
,
point_b
):
"""The s
ize of the lin
e between two points"""
"""The s
traight line distanc
e between two points"""
return
math
.
sqrt
(((
point_b
[
0
]
-
point_a
[
0
])
**
2
)
+
((
point_b
[
1
]
-
point_a
[
1
])
**
2
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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