sofrd

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Analytical Geometry
Introduced first in SolidGeometry 1.1, Creation date: 2013-08-09, Last change: 2025-09-14

returns the minimal auxiliary point distance on a circular curved contour

Description

similar to nofrd. Required for generation grids or auxiliary points on a contour or surface

See Also: nofrd , dofn , phiofsr , circ2poly , dofRintrusion , rofRintrusion , PLchordof2PR , Rofrdintrusion

Example Illustration

 missing image of sofrd(r,d)

Syntax

s=sofrd(r,[d])

Input Parameter

r: Radius
d: particle size (default 0.025)

Output Parameter

s: maximial step size




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

Algorithm (Workflow)

This algorithm is designed to calculate the minimal auxiliary point distance on a circular curved contour. It is part of the SolidGeometry library and is used for generating grids or auxiliary points on a contour or surface.

Input Parameters

Output Results

Algorithm Explanation

The function sofrd calculates the maximal step size s for a given radius r and an optional particle size d. The function relies on another function nofrd to determine the number of divisions n required for the given radius and particle size.

The calculation is performed as follows:

  1. Call the function nofrd with the radius r and any additional arguments provided in varargin. This function returns the number of divisions n.
  2. Calculate the maximal step size s using the formula: s = 2 * pi * r / n.

The function nofrd is assumed to calculate the number of divisions based on the radius and particle size, ensuring that the contour is divided into segments that are no larger than the specified particle size.

This algorithm is useful in applications where precise control over the spacing of points along a circular contour is required, such as in computer-aided design and manufacturing processes.

Algorithm explaination created using ChatGPT on 2025-08-18 22:57. (Please note: No guarantee for the correctness of this explanation)

Last html export of this page out of FM database by TL: 2025-09-21