CylindroidControl
The CylindroidControl provides a user interface for editing a cylindroid, which is a generalized cylinder defined by a series of radius values along the Z-axis.
Features
- Edit the Z-radius pairs that define the cylindroid's profile
- Set the longitude number (resolution) for the cylindroid
- Add and remove Z-radius pairs
UI Layout
The CylindroidControl includes the following UI elements:
- Longitude Number - A numeric input for setting the resolution of the cylindroid
- Z-Radius Pairs - A DataGrid showing the Z-coordinate and radius pairs
- Add Button - Adds a new Z-radius pair
- Remove Button - Removes the selected Z-radius pair
Source Code Path
See this page for git repository.
WPF Application Source Code Path
- Geom/CylindroidControl
Web Service Application Source Code Path
HiNC-2025-webservice (Quasar CLI SPA):
wwwroot-src/src/components/geom/CylindroidEditor.vue— reusable Z-R pair editor (add / remove / edit); edits the cylindroid by IndexService key and emitschangedso the owner can resync.wwwroot-src/src/api/geometry.ts— Cylindroid API wrappers.Geom/CylindroidController.cs— REST endpoints at/api/Cylindroid/*(Get / GetPairCount / GetPairAt / UpdatePairAt / UpdateAllPairs / AddPair / RemovePairAt / SortByZ).