CPLsample
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Samples
Introduced first in SolidGeometry 2.1, Creation date: 2014-12-26, Last change: 2025-09-14
returns a a closed polygon list for different tests and experiments
Description
Calling without an output parameter will always show the polygons
Calling without an input parameter will show all sample polygons
CPLsample can be called recursively to show the effect of functions used on CPLsample-contours
Use CPLorder afterwards to order them.
Use CPLunite/CPLrecontour to process them.
See Also: CPLoftext
, SGsample
, VLsample
, PLsample
, VLFLsample
, CSGsample
, SGfischertechniksample
, SGcmdsample
, VLsampletriangles
, CVLzsample
Example Illustration
Syntax
[CPL,TR3]=CPLsample([Nr,T])
Input Parameter
Nr: | | Number of sample closed polygon list or specific CPL for display |
T: | | Parameter for SGtrans (Value, Vector, Matrix) |
Output Parameter
CPL: | | Closed Polygon List |
TR3: | | Optional delaunay triangulation of CPL using PLELofCPL |
Examples
Recontour overlapping contours
CPLsample(16)
CPLsample(CPLrecontour(CPLsample(16)))
CPLsample(CPLrecontour(flip(CPLsample(16))))
Copyright 2014-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