VLcrossstraightnline3D

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Analytical Geometry
Introduced first in SolidGeometry 4.9, Creation date: 2020-01-22, Last change: 2025-09-14

returns the crossing point of 2 lines in [x y z]



See Also: PLcross2Lines , PLcrossstraightnline , VLcross2Lines3D

Example Illustration

 missing image of VLcrossstraightnline3D(A,B,C,D)

Syntax

[CP,ka,kb,kc]=VLcrossstraightnline3D(A,B,C,D)

Input Parameter

A: starting point A [x y z] or PL[4 x 2
B: ending point A [x y z]
C: starting point B [x y z]
D: Direction from C to [x y z]

Output Parameter

CP: Crossing Point
ka: factor from A to B
kb: factor from C into direction D; always > 0
kc: reason for removal

Examples


VLcrossstraightnline3D([[0 -4 0 ];[0 10 0];[-3 -3 0]; [1 1 0]])
VLcrossstraightnline3D([[0 -4 0 ];[0 10 0];[-3 -3 0]; [1 1 1]])




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