DVector.combine_from_dic#
- classmethod DVector.combine_from_dic(in_dic, new_seg, in_segmentation, zoning_system)[source]#
Combine DVectors saved in a dictionary.
The dictionary keys form values of the added segment.
- Parameters:
in_dic (dic[int, DVector]) – Dictionary containing keys of segment values, and DVectors to be combined.
new_seg (Segment) – The Segment to be added in. Values must match the keys of in_dic
in_segmentation (Segmentation) – The Segmentation of the DVectors in in_dic. Segmentation must be the same for all of them
zoning_system (ZoningSystem) – The zoning_system of the DVectors in in_dic. Must be the same for all.
- Return type:
DVector combination of DVector in in_dic