crossT

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 a plane TE with the x/y-plane (z=0)

Description

PL=crossT (TE) returns a 3x3 matrix PL=[px py pz]. px is the intersection point of the ex vector with the x/y-plane, py is the intersection point of the ey vector with the x/y-plane, and pz is the intersection point of the ez vector with the x/y-plane. The straight line through px and py is the intersection line of the plane. If one or more axes are parallel to the plane, the resulting corresponding vector is [NaN;NaN;NaN].

See Also: crossL , cross2L , cross2T , Tcross2T

Example Illustration

 missing image of crossT(TE)

Syntax

PL=crossT(TE)

Input Parameter

TE: is the HT matrix that 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

Test different plane decriptions (t=O, ez=ez)
T1=eye(4); T2=T1; T2(1:3,4)=[1 7 40]; crossT(T2);
T1=eye(4); T2=T1; T2(1:3,1:3)=rotdeg(90,0,0); crossT(T2)




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