Hide menu
cadex::ModelData_PMIConverter Class Reference

Auxiliary class to facilitate working with PMI. More...

Public Member Functions

 ModelData_PMIConverter ()
 Constructor. More...
 
ModelData_PolyLineSet Convert (const ModelData_PMIOutline &theOutline)
 Converts theOutline to 3d polyline. More...
 
ModelData_PolyLineSet Convert (const ModelData_PMIOutline &theOutline, const ModelData_Plane &thePlane)
 Converts theOutline to 3d polyline. More...
 

Detailed Description

Auxiliary class to facilitate working with PMI.

Constructor & Destructor Documentation

◆ ModelData_PMIConverter()

cadex::ModelData_PMIConverter::ModelData_PMIConverter ( )

Constructor.

Creates ModelData_PMIConverter.

Member Function Documentation

◆ Convert() [1/2]

ModelData_PolyLineSet cadex::ModelData_PMIConverter::Convert ( const ModelData_PMIOutline theOutline)

Converts theOutline to 3d polyline.

Note
theOutline should contain one or more 3d curves.

◆ Convert() [2/2]

ModelData_PolyLineSet cadex::ModelData_PMIConverter::Convert ( const ModelData_PMIOutline theOutline,
const ModelData_Plane thePlane 
)

Converts theOutline to 3d polyline.

Note
theOutline should contain 2d PMI data (2d curves or 2d polylines). thePlane specifies position of 2d PMI data on the screen.