#include <lib_polygonreduction.h>
Stores information required for polygon reduction.
Public Member Functions | |
PolygonReductionData ()=default | |
PolygonReductionData (BaseDocument *doc, PolygonObject *op, BaseThread *thread) | |
~PolygonReductionData () | |
Public Attributes | |
BaseDocument * | _doc |
PolygonObject * | _op |
BaseThread * | _thread |
BaseContainer | _settings |
|
default |
Default constructor.
PolygonReductionData | ( | BaseDocument * | doc, |
PolygonObject * | op, | ||
BaseThread * | thread | ||
) |
Constructor.
[in] | doc | The document. Must not be nullptr. The caller owns the pointed BaseDocument. |
[in] | op | The polygon object to be reduced. The caller owns the pointed PolygonObject. |
[in] | thread | The caller thread. Set to nullptr if synchronous pre-processing calculation is needed (e.g. during rendering). The caller owns the pointed BaseThread. |
~PolygonReductionData | ( | ) |
Destructor.
BaseDocument* _doc |
The document. Must not be nullptr.
PolygonObject* _op |
The polygon object to be reduced.
BaseThread* _thread |
The caller thread. Set to nullptr if synchronous pre-processing calculation is needed (e.g. during rendering).
BaseContainer _settings |
The reduction constraints settings. See opolyreduxgen.h.