GeometrySpace
Functions
Link copied to clipboard
Link copied to clipboard
open override fun binaryOperationFunction(operation: String): (V, V) -> V
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
L2 distance
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Properties
Inheritors
Extensions
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.