mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 18:22:30 +00:00
spatial hierarchy: storey elevation + Long Name column + resizable layout
- helpers/placement: port get_storey_elevation (placement Z, falling back to the Elevation attribute), matching ifcopenshell.util.placement. - Add a secondary column: the storey elevation for IfcBuildingStorey, otherwise the LongName when filled. Elevations are right-aligned. - Columns: Name is drag-resizable (interactive) and defaults to 20% of the width, Long Name stretches to fill the rest, and the eye is pinned to the right at a fixed width. Header shown so the divider can be grabbed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -47,4 +47,9 @@ Eigen::Matrix4d get_axis2_placement(const express::Base& placement);
|
||||
// identity for a null input.
|
||||
Eigen::Matrix4d get_local_placement(const express::Base& placement);
|
||||
|
||||
// ifcopenshell.util.placement.get_storey_elevation: the Z elevation of an
|
||||
// IfcBuildingStorey in the project's length unit — the Z of its placement, or
|
||||
// the Elevation attribute as a fallback. 0 for a non-storey or null input.
|
||||
double get_storey_elevation(const express::Base& storey);
|
||||
|
||||
#endif // PLACEMENT_H
|
||||
|
||||
Reference in New Issue
Block a user