MbPlaneInstance Two-Dimensional Object Insertion
The MbPlaneInstanсe class is declared in the plane_instanse.h file.
The MbPlaneInstanсe insertion of two-dimensional objects is derived from the MbItem class and is described by a set of two-dimensional geometric objects std::vector< MbPlaneItem > planeItems and the local coordinate system MbPlacement3D place. The two-dimensional objects are located in the XY plane of the local coordinate system.
The insertion acts as a wrapper for two-dimensional geometric objects, allowing them to be treated as a geometric model object. The insertion provides two-dimensional geometric objects with a construction journal and endows them with attributes and the methods of the geometric model object MbItem. The insertion of two-dimensional objects is intended for auxiliary constructions. An insertion of two-dimensional curves is shown in Fig. 1.
Fig. 1
The insertion of two-dimensional objects may contain a two-dimensional curve MbCurve, a multiline MbMultiline, or a region MbRegion.