Class VolumeItem
- Namespace
- GeometryHelper.Takeoff
- Assembly
- GeometryHelper.dll
A part to take off: its body, a name to know it by, its priority, which says who keeps the material two parts share, and an id, which says it between two of the same priority.
public sealed class VolumeItem
- Inheritance
-
VolumeItem
- Inherited Members
Remarks
The higher priority keeps the overlap and cuts it out of the lower: give the columns 3, the walls 2, the beams 1
and the slabs 0, and a slab 200 thick on a beam 300 wide loses the 300 by 200 strip the beam runs through, where
the beam loses nothing to the slab. Of two parts of the same priority, one with an id keeps it from one without,
the larger id from the smaller, and otherwise the earlier in the list. A Tekla part's Identifier.ID given
as the id makes such ties go as HDC WBS's WBSCalculator takes them, the larger id cutting: two walls of one
priority crossing, ids 1 001 and 1 002, the second keeps what they share, wherever the two stand in the list.
Run(IReadOnlyList<VolumeItem>, VolumeTakeoffOptions) only reads the item, and its
body is never cut.
Constructors
- VolumeItem(GeoSolid3, string, int)
Initializes the item, with no id.
- VolumeItem(GeoSolid3, string, int, int)
Initializes the item with an id.
Properties
- Id
Gets the id that says who keeps the material of two parts of the same priority; null if the item was given none.
- Name
Gets the name the part is known by; null if it was given none.
- Priority
Gets who keeps the material this part shares with another: the higher priority keeps it, and of two the same, as Id says.
- Solid
Gets the body of the part.