Loading [MathJax]/extensions/tex2jax.js
OGS
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
Typedefs
b
c
e
f
h
j
k
l
m
n
p
q
r
s
t
v
w
x
Enumerations
b
c
d
e
f
g
i
l
m
n
o
p
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
l
m
n
p
r
s
t
v
y
Classes
Class List
Class Index
Class Hierarchy
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
Functions
a
c
d
e
f
g
i
m
o
p
r
s
t
v
w
x
Variables
Typedefs
Enumerations
Macros
a
b
c
e
g
h
i
l
m
n
o
p
r
s
t
v
w
x
MathTools.h
Go to the documentation of this file.
1
10
#pragma once
11
12
#include <cstddef>
13
14
namespace
MathLib
15
{
16
template
<
typename
T, std::
size_t
DIM>
class
TemplatePoint;
17
using
Point3d
=
MathLib::TemplatePoint<double, 3>
;
18
33
double
calcProjPntToLineAndDists
(
MathLib::Point3d
const
& pp,
34
MathLib::Point3d
const
& pa,
35
MathLib::Point3d
const
& pb,
double
& lambda,
36
double
& d0);
37
46
double
getAngle
(
Point3d
const
& p0,
Point3d
const
& p1,
Point3d
const
& p2);
47
}
// namespace MathLib
MathLib::TemplatePoint< double, 3 >
MathLib
MathLib::Point3d
MathLib::TemplatePoint< double, 3 > Point3d
Definition:
GeometricBasics.h:19
MathLib::calcProjPntToLineAndDists
double calcProjPntToLineAndDists(Point3d const &pp, Point3d const &pa, Point3d const &pb, double &lambda, double &d0)
Definition:
MathTools.cpp:19
MathLib::getAngle
double getAngle(Point3d const &p0, Point3d const &p1, Point3d const &p2)
Definition:
MathTools.cpp:42
MathLib
MathTools.h
Generated by
1.9.1