MbWireFrame Wireframe
The MbWireFrame class is declared in the wire_frame.h file.
The MbWireFrame wireframe is derived from the MbItem class and is described by a set of edges std::vector< MbEdge * > edges, the number of connected parts parts, and the flag indicating the absence of boundary vertices closed.
A wireframe is a set of edges that are joined to each other at vertices and describe the frame structure of the modeled object. A wireframe may describe one or several connected sets of points. The number of connected parts parts indicates whether the frame describes a single connected set of points or whether the frame describes several connected sets of points and can be split into several wireframes.
Depending on whether boundary vertices are absent or present, a wireframe will be called closed or open. Fig. 1 shows a closed wireframe.
Fig. 1
An open wireframe is shown in Fig. 2.
Fig. 2
Fig. 3 shows an open wireframe consisting of two connected sets of edges:
Fig. 3
Fig. 4 shows a closed wireframe consisting of two connected sets of edges:
Fig. 4
A wireframe can be used for constructing trajectories, spatial sketches, and for auxiliary constructions.