crosspointVLFLfi

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Geometric Queries
Introduced first in SolidGeometry 5.1, Creation date: 2021-03-10, Last change: 2025-09-15

returns the self crosspoints of a surface normal vector

Description

This function is used to check for outside

See Also: crosspointVLFL , SGcheckfacedist , SGinsideSurface

Example Illustration

 missing image of crosspointVLFLfi(VL,FL,fi);

Syntax

[cp,t,fic,fid]=crosspointVLFLfi(VL,FL,fi);

Input Parameter

VL: Vertrex list or SG
FL: Facet List
fi: facet index

Output Parameter

cp: cross point on surface, empty if there is no crossing point
t: distance (t * ez)
fic: facet index of 1st crossed surface
fid: full list of facet index and distance [fi, d]

Examples


crosspointVLFLfi(SGsample(29),'',20) % two cross points
crosspointVLFLfi(SGsample(29),'',32) % no cross point




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