SGaddsurfpoints

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - SG/Solids
Introduced first in SolidGeometry 5.4, Creation date: 2024-02-18, Last change: 2025-09-15

adds gridpoints at surfaces and edges at all surfaces



See Also: SGremsurfpoints , SGremsurfedgepoints , SGremedgepoints

Example Illustration

 missing image of SGaddsurfpoints(SG,alpha,ds,dx,dy)

Syntax

SGN=SGaddsurfpoints(SG,[alpha,ds,dx,dy])

Input Parameter

SG: Solid geometry
alpha: angle for surface differentiation; default is 0.01
ds: distance on edges; default is
dx: distance in x; default is 1
dy: distance in y; default is dx

Output Parameter

SGN: Solid geometry with additional points on edges and surfaces

Examples


XXX=SGaddsurfpoints(SGsample(16),'',1,1,1); dbplot(XXX);

XXX=SGaddsurfpoints(SGsample(16),'',[1 2 1]); dbplot(XXX);




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