kmath
0.3.1-dev-RC
common
kmath-geometry
/
space.kscience.kmath.geometry
/
projectToLine
project
To
Line
fun
<
V
:
Vector
>
GeometrySpace
<
V
>
.
projectToLine
(
vector
:
V
,
line
:
Line
<
V
>
)
:
V
(
source
)
Project vector onto a line.
Parameters
vector
to project
line
line to which vector should be projected