crosspointsVLFLofT

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Kinematics and Frames
Introduced first in SolidGeometry 4.1, Creation date: 2017-08-11, Last change: 2025-09-14

returns the crossing points of the axis of a coordinate system

Description

For a rotational axis, typically the z values TVL(5:6,:) are important
For a prismatic axis, typically the x axis TVL(1:2) is important


See Also: crosspointVLFL , crosspointVLFL2 , CVLofSGcutplanes , CVLofconvexHull

Example Illustration

 missing image of crosspointsVLFLofT(VL,FL,T,)

Syntax

[TVL,td,np,TN,FLi]=crosspointsVLFLofT(VL,FL,T,[])

Input Parameter

VL: Vertex List of Solid
FL: Facet List of Solid
T: Coordinate Frame [4x4]

Property names

'center' : if 'center' is used; the Matrix TN contains the moved frame matrix

Output Parameter

TVL: Touch vertex list [6 x 3]
td: distances between touch points [dx dy dz]
np: center of crossing lines
TN: Optional moved Frame matrix
FLi: Facet index list corresponding to TVL

Examples


[VL,FL]=SGsample(5); crosspointsVLFLofT(VL,FL,TofP([0 0 4]))
[VL,FL]=SGsample(29);
crosspointsVLFLofT(VL,FL,TofR(rot(0,0,0),[0 22 5]))
crosspointsVLFLofT(VL,FL,TofR(rot(0,pi/4,0),[0 22 5]))




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