CalcHesseRepresentation (FB)ΒΆ

FUNCTION_BLOCK CalcHesseRepresentation

This function block will retrieve the normal form (due to Hesse) of a plane \(E\) in the three dimensional space: \(E\colon(x-p)\cdot n = 0\), where \(n\) is the normed normal on the plane and \(p\) 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 \(E\)

vP2

POINTER TO Vector3D

point on plane \(E\)

vP3

POINTER TO Vector3D

point on plane \(E\)

Output

plane

PLANE_H

normal form of plane \(E\)

xError

BOOL

Error flag
TRUE: If input points are collinear