Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gendl
gendl
Commits
cde010d0
Commit
cde010d0
authored
Mar 18, 2014
by
Dave Cooper
Browse files
added total-length for arcoid-mixin
parent
8412c87f
Changes
2
Hide whitespace changes
Inline
Side-by-side
geom-base/wire/source/arcoid-mixin.lisp
View file @
cde010d0
...
...
@@ -46,6 +46,9 @@ For developers it should be used as a mixin.")
(
end-angle-normalized
(
apply
#'
max
(
the
angles-normalized
)))
(
start-to-end-angle
(
-
(
the
end-angle-normalized
)
(
the
start-angle-normalized
)))
(
total-length
(
*
(
the
radius
)
(
the
start-to-end-angle
)))
(
%arcs%
(
list
self
)))
...
...
geom-base/wire/source/l-line.lisp
View file @
cde010d0
...
...
@@ -62,6 +62,8 @@ by specifying a start point and an end point."
(
"Number. The distance from start to end of the line."
length
(
3d-distance
(
the
:start
)
(
the
:end
)))
(
total-length
(
the
length
))
(
"3D Vector. Points from start to end of the line."
direction-vector
(
subtract-vectors
(
the
:end
)
(
the
:start
)))
...
...
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