Tofhesseplane

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Analytical Geometry
Introduced first in SolidGeometry 5.2, Creation date: 2022-06-19, Last change: 2025-09-15

returns an HT amtrix from a hesse normal form of a plane



See Also: TofPez , hesseplaneofT

Example Illustration

 missing image of Tofhesseplane(d,ez,T0)

Syntax

T=Tofhesseplane([d,ez,T0])

Input Parameter

d: distance to plane
ez: ez vector of plane
T0: optional relative plane that is used for d and ez; default is eye(4)

Output Parameter

T: HT matrix of plane

Examples


Tofhesseplane(5,[0.8 0.4 0.4]) % relative to T=eye(4)
Tofhesseplane(5,[1 1 1], TofPez([0 0 -10],[0 0 1])) % with respect to a plane at [0 0 -10]




Copyright 2022-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Algorithm (Workflow)

This function, Tofhesseplane, computes a homogeneous transformation (HT) matrix from the Hesse normal form of a plane. It is part of the SolidGeometry library and was introduced in version 5.2.

Input Parameters

Output

Algorithm Steps

  1. Retrieve the input parameters using the getfuncparams function. This function extracts the parameters from the input arguments, providing default values if necessary.
  2. Normalize the ez vector to ensure it is a unit vector. This is done by dividing the vector by its norm.
  3. Compute the HT matrix T using the TofPez function. This function takes the product of d and ez as the position vector and ez as the normal vector.
  4. Multiply the resulting matrix T by T0 to account for any relative transformation specified by T0.
  5. If no output is requested (i.e., nargout==0), call the hesseplaneofT function to display or process the resulting transformation matrix T with respect to T0.

Example Usage

Here are two examples of how to use the Tofhesseplane function:

Algorithm explaination created using ChatGPT on 2025-08-18 23:37. (Please note: No guarantee for the correctness of this explanation)

Last html export of this page out of FM database by TL: 2025-09-21