SGremsurfpoints

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Surfaces
Introduced first in SolidGeometry 4.2, Creation date: 2018-03-02, Last change: 2025-09-14

returns a surface model without surface points that are inside of a surface - boundary/edge points are unchanged

Description

This function is useful if a tetrahedron model (pde mesh) is converted into a surface model, or a solid is bent somehow. Afterwards there a surfaces that consist of many vertices that are in the same plane. This function analyses the surface and retesselate all surface based only on the boundary vertices.

See Also: VLFLremsurfpoints , SGofpdemodel , SGremsurfedgepoints , SGremedgepoints

Example Illustration

 missing image of SGremsurfpoints(SG,alpha)

Syntax

[SGN,FLN,FSi]=SGremsurfpoints(SG,[alpha])

Input Parameter

SG: Solid Geometry surface model
alpha: alpha angle for feature surface; default is 0.01

Output Parameter

SGN: New surface model with reduced vertices and faces
FLN: Reduced Facet list based on the original vertex list
FSi: Feature surface index list

Examples

Remove surface points
A=SGbox([30,20,10])
model=pdemodelofSG(A,5)
SGofpdemodel(model); B=ans
SGremsurfpoints(B)




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