cross2T

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Analytical Geometry
Introduced first in SolidGeometry 1.0, Creation date: 2010-08-24, Last change: 2025-09-14

returns 3 crossing points of plane T1 with the plane T2

Description

PL=cross2T (T1,T2) returns a 3x3 matrix PL=[px py pz]. px ist the crossing point of the ex vector of T2 with the x/y-plane of T1, py is the crossing point of the ey vector of T2 with the x/y plane of T1 and ez is the crossing point of the ez vector of T2 to the x/y plane of T1. The straigt line through px and py is the crossing line of the plane. If one ore more axis are parallel to the plane, the resulting corresponding vector is [NaN;NaN;NaN]


See Also: crossL , cross2L , crossT , Tcross2T

Example Illustration

 missing image of cross2T(T1,T2)

Syntax

PL=cross2T(T1,T2)

Input Parameter

T1: HT matrix 1 (plane), that describes a plane by an ez-Vector and a position p
T2: HT matrix 2 (plane), at describes a plane by an ez-Vector and a position p

Output Parameter

PL: is a list of 3 points PL=[px py pz] describing the crossing points of ex, ey, and ez vectors with the x/y plane (z=0).

Examples


cross2T(eye(4),T2P([3 0 5],[1 1 1]))




Copyright 2010-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

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