CalcHesseRepresentation (FB)

FUNCTION_BLOCK CalcHesseRepresentation

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 on the plane. The plane is originally specified by three of its points.

InOut:

Scope

Name

Type

Comment

Input

vP1

POINTER TO Vector3D

point on plane

vP2

POINTER TO Vector3D

point on plane

vP3

POINTER TO Vector3D

point on plane

Output

plane

PLANE_H

normal form of plane

xError

BOOL

Error flag

TRUE: If input points are collinear