VLFLinpolyhedron
by MATLAB-CENTRAL, SG-Lib Toolbox: SolidGeometry 5.6 - Geometric Queries
, Creation date: 2014-02-25, Last change: 2025-09-14
returns the isInside Flag for a SG and a VL
Description
very fast checking function for points that are not on the surface.
This function still has some bugs with vertices on the surface of the solid
See Also: VLisInteriorofBB
, mesh2mesh
, SGisInterior
, VLcrossingSG
, crossingfacets2VLFL
Example Illustration
Syntax
IN=VLFLinpolyhedron([])
Output Parameter
Examples
Test the probleatic surface points if this func:
A=SGbox([30,20,10]);
VLcrossingSG(A,SGtrans(A,rotdeg(90)));
VL=VLcrossingSG(A,SGtrans(A,rotdeg(90)));
VL=unique(VL,'rows');
SGisInterior(A,VL)
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