Box3dControl
The Box3dControl
provides a user interface for editing a 3D box defined by its minimum and maximum coordinates.
Features
- Edit the minimum and maximum coordinates of the box
- View the calculated dimensions and center of the box
- Read-Only Mode and Edit Mode
- There are three sub-edit modes that can be selected in Edit Mode:
- Min and Max
- Min and Dimension
- Center and Dimension
UI Layout
The Box3dControl
includes the following UI elements:
- Min Vec3dControl
- Max Vec3dControl
- Dimension Vec3dControl
- Center Vec3dControl
The sub-edit mode rules the controls to readonly or editable.
Since the native of Box3d is that only Min and Max Properties are editable, the other mode requires little additional logic to take effect.
Single-User WPF Application Source Code Path
- Geom/Box3dControl
see this page for git repository.