Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tools
frackit
Commits
f25cb743
Commit
f25cb743
authored
Jan 17, 2020
by
Dennis Gläser
Browse files
[magnitude][length] remove obsolete overload for vectors
parent
731ed886
Changes
1
Hide whitespace changes
Inline
Side-by-side
frackit/magnitude/length.hh
View file @
f25cb743
...
...
@@ -39,7 +39,6 @@
#include
<frackit/geometry/ellipse.hh>
#include
<frackit/geometry/ellipsearc.hh>
#include
<frackit/geometry/segment.hh>
#include
<frackit/geometry/vector.hh>
namespace
Frackit
{
...
...
@@ -71,13 +70,6 @@ template<class ctype = double>
ctype
computeLength
(
const
TopoDS_Edge
&
edge
)
{
return
computeLength
(
OCCUtilities
::
getGeomHandle
(
edge
));
}
/*!
* \brief Returns the length of a vector
*/
template
<
class
ctype
,
int
worldDim
>
ctype
computeLength
(
const
Vector
<
ctype
,
worldDim
>&
vec
)
{
return
vec
.
length
();
}
/*!
* \brief Returns the length of a circle (circumference).
*/
...
...
Write
Preview
Supports
Markdown
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