PLcircle
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Analytical Geometry
Introduced first in SolidGeometry 1.0, Creation date: 2012-10-19, Last change: 2025-09-14
returns a 2D point list of a circle or circle segment
Description
PL circle starts not(!) at (R,0), but the first edge is going in y-direction. This has been done to simply generate squares or 2*n-Polygons. By using the offset angle, it is possible
See Also: PLwrench
, PLinbus
, PLcircseg
, PLevolvente
, PLgearDIN
, PLkidney
, PLrand
, PLspiral
, PLsquare
, PLstar
, PLcircleoval
Example Illustration
Syntax
PL=PLcircle(R,[nf,dw,Ry,ow])
Input Parameter
R: | | Radius or list of radii of concentric circles (Rev. 5.0) |
nf: | | number of facets (default is nofrd (R,0.05)) |
dw: | | circle segment ](0..2(pi] (default is 2*pi) |
Ry: | | Radius if ellipse (default is R) |
ow: | | Offset angle |
Output Parameter
Examples
PLcircle(5) % radius is 5
PLcircle([3 5]) % Radius is [3 and 5]
SGfigure; CPSplot(PLcircle([10 20 30 40]))
Copyright 2012-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