isonVLFLplanes
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Geometric Queries
Introduced first in SolidGeometry 4.9, Creation date: 2020-01-12, Last change: 2025-09-14
returns wether a point is on a plane of a facet not necessarily inside of the facet
Description
In contrast to isonVLFL/isonVLFLsurface this function returns if a point is on a plane defined by the facets, i.e. distance to any point of the plane * normal vector
See Also: isonVLFL
, isonVLFLsurface
Example Illustration
Syntax
[vi,il]=isonVLFLplanes(VLA,FLA,VL,[tol])
Input Parameter
VLA: | | Vertex list |
FLA: | | Facet list |
VL: | | Vertex list to test |
tol: | | default is 1e-5 |
Output Parameter
vi: | | vertex index list true/false |
il: | | cell list of facets for each vertex |
Examples
A=SGbool('-',SGbox([30,20,10]),SGbox([26,16,6]));
isonVLFLplanes(A.VL,A.FL,[0 0 5])
isonVLFLplanes(A.VL,A.FL,[12 12 5])
isonVLFLsurface(A.VL,A.FL,[12 12 5])
isonVLFLplanes(A.VL,A.FL,0.5*(A.VL+circshift(A.VL,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