distance

open override fun distance(obj: Vec2): Double(source)

Get the distance of a point with respect to this hyperplane. If the distance is zero, the point is on the hyperplane.

Return

The oriented distance of the point from the hyperplane.

Parameters

obj

The point to measure the distance from.