Table of Contents

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:

  1. Longitude Number - A numeric input for setting the resolution of the cylindroid
  2. Z-Radius Pairs - A DataGrid showing the Z-coordinate and radius pairs
  3. Add Button - Adds a new Z-radius pair
  4. 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

  • wwwroot/geom/cylindroid-control.js
  • Geom/CylindroidHub.cs