MATH.CalcHesseRepresentation (FB)

 

(CAA_Mathematics.library)

This function block will retrieve the normal form (due to Hesse) of a plane math_image139.png

in the three dimensional space

:

math_image141.pngwheremath_image006.png is the normed normal on the plane and math_image105.png a point of the plane. The plane is originally specified by three of its points.

Input:

vP1

POINTER TO MATH.Vector3D

point on plane math_image139.png

vP2

POINTER TO MATH.Vector3D

point on plane math_image139.png

vP3

POINTER TO MATH.Vector3D

point on plane math_image139.png

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