Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dmitri Naumov
ogs
Commits
a9d72b97
Commit
a9d72b97
authored
8 years ago
by
Tom Fischer
Browse files
Options
Downloads
Patches
Plain Diff
[MaL] Remove unused crossProd() function.
parent
f9c2320e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
MathLib/MathTools.cpp
+0
-6
0 additions, 6 deletions
MathLib/MathTools.cpp
MathLib/MathTools.h
+0
-6
0 additions, 6 deletions
MathLib/MathTools.h
with
0 additions
and
12 deletions
MathLib/MathTools.cpp
+
0
−
6
View file @
a9d72b97
...
...
@@ -14,12 +14,6 @@
namespace
MathLib
{
void
crossProd
(
const
double
u
[
3
],
const
double
v
[
3
],
double
r
[
3
])
{
r
[
0
]
=
u
[
1
]
*
v
[
2
]
-
u
[
2
]
*
v
[
1
];
r
[
1
]
=
u
[
2
]
*
v
[
0
]
-
u
[
0
]
*
v
[
2
];
r
[
2
]
=
u
[
0
]
*
v
[
1
]
-
u
[
1
]
*
v
[
0
];
}
double
calcProjPntToLineAndDists
(
const
double
p
[
3
],
const
double
a
[
3
],
const
double
b
[
3
],
double
&
lambda
,
double
&
d0
)
...
...
This diff is collapsed.
Click to expand it.
MathLib/MathTools.h
+
0
−
6
View file @
a9d72b97
...
...
@@ -76,12 +76,6 @@ T scalarProduct(T const * const v0, T const * const v1, unsigned n)
return
res
;
}
/**
* computes the cross (or vector) product of the 3d vectors u and v
* the result is given in the vector r
*/
void
crossProd
(
const
double
u
[
3
],
const
double
v
[
3
],
double
r
[
3
]);
/**
* calcProjPntToLineAndDists computes the orthogonal projection
* of a point p to the line described by the points a and b,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment