3 \page check_compound_of_blocks_page Check Compound of Blocks
5 Checks whether a shape is a compound of glued blocks. To be
6 considered as a compound of blocks, the given shape must satisfy the
9 <li>Each element of the compound should be a Block (6 faces and 12 edges);</li>
10 <li>Blocks can be connected only via an entire quadrangle face or an entire edge;</li>
11 <li>The compound should be connected;</li>
12 <li>Each couple of connecting quadrangle faces should be glued.</li>
15 \n Informs of the following possible errors:
19 <li>not connected;</li>
20 <li>extra or degenerated edge.</li>
23 \n <b>Result:</b> Boolean; highlight in the viewer.
24 \n <b>TUI Command:</b>
25 <em>geompy.CheckCompoundOfBlocks(Compound).</em> Checks if the shape
26 is a valid compound of blocks. If it is true, then the validity flag
27 is returned, and encountered errors are printed in the python console.
29 See also a \ref tui_check_compound_of_blocks_page "TUI example".
31 \image html measures10.png