offset

abstract fun offset(obj: O): Double(source)

Get the offset of a point with respect to this hyperplane.

The offset is a signed distance from the hyperplane, where positive values indicate the point is on the positive side of the hyperplane, negative values indicate it is on the negative side, and zero indicates it is on the hyperplane.

Return

The signed distance (offset) of the point from the hyperplane.

Parameters

obj

The point to measure the offset from.