isonVLFL
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Geometric Queries
Introduced first in SolidGeometry 4.9, Creation date: 2020-01-11, Last change: 2025-09-14
returns whether a point is on a surface
Description
Developed on 2018-08-16 by Yilun Sun to improve the SGisInterior Function
Accelerated Version by Tim Lueth 2020-01-11
For VLA:[40000Ã3 double] FLA:[79996Ã3 double] and VL:[40000Ã3 double]
this function takes instead of 40 seconds just 6.7 seconds
See Also: SGisInterior
, isonVLFLsurface
, isonVLFLplanes
, VLisInteriorofBBlist
, SGisOnsurface
Example Illustration
Syntax
vi=isonVLFL(VLA,FLA,VL)
Input Parameter
VLA: | | Vertex list |
FLA: | | Facet list |
VL: | | Vertex list to test |
Output Parameter
vi: | | On Surface Index of VL |
Examples
A=SGbox([30,20,10]);
A=SGbool('-',SGbox([30,20,10]),SGbox([26,16,6]));
isonVLFL(A.VL,A.FL,0.5*(A.VL+circshift(A.VL,1)))
isonVLFL(A.VL,A.FL,0.5*(A.VL+circshift(A.VL,3)))
isonVLFL(A.VL,A.FL,0.5*(A.VL+circshift(A.VL,3)))
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