MATH.CalcHesseRepresentation (FB)

(CAA_Mathematics.library)

This function block will retrieve the normal form (due to Hesse) of a plane   in the three dimensional space : where is the normed normal on the plane and a point of the plane. The plane is originally specified by three of its points.

Input:

vP1

POINTER TO MATH.Vector3D

point on plane

vP2

POINTER TO MATH.Vector3D

point on plane  

vP3

POINTER TO MATH.Vector3D

point on plane  

Output:

plane

MATH.PLANE_H

normal form of plane  

xError

BOOL

error flag (see Guidlines for CAA libs) will be set, if input points are collinear