distance3d.geometry.hesse_normal_form

distance3d.geometry.hesse_normal_form(plane_point, plane_normal)[source]

Computes Hesse normal form of a plane.

In the Hesse normal form (x * n - d = 0), x is any point on the plane, n is the plane’s normal, and d ist the distance from the origin to the plane along its normal.

Parameters:
plane_pointarray, shape (3,)

Point on the plane.

plane_normalarray, shape (3,)

Normal of the plane. We assume unit length.

Returns:
plane_normalarray, shape (3,)

Normal of the plane. We assume unit length.

dfloat, optional (default: None)

Distance of the plane to origin in Hesse normal form.