Package space.kscience.kmath.geometry
Types
Link copied to clipboard
object Euclidean2DSpace : GeometrySpace<Vector2D> , ScaleOperations<Vector2D>
Content copied to clipboard
2D Euclidean space
Link copied to clipboard
object Euclidean3DSpace : GeometrySpace<Vector3D> , ScaleOperations<Vector3D>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
fun <V : Vector> GeometrySpace<V>.projectAlong(vector: V, normal: V, base: V): V
Content copied to clipboard
Project vector onto a hyperplane, which is defined by a normal and base. In 2D case it is the projection to a line, in 3d case it is the one to a plane.
Link copied to clipboard
fun <V : Vector> GeometrySpace<V>.projectToLine(vector: V, line: Line<V>): V
Content copied to clipboard
Project vector onto a line.