|
C3D Toolkit
Kernel - 118069, Vision - 2.16.7.1844
|
Boolean operation parameters over regions. More...
#include <region.h>
Public Member Functions | |
| MbRegionBooleanParams (RegionOperationType type, bool selfTouch, bool mergeCrvs, double xAcc, double yAcc, double angleAcc) | |
| Constructor. More... | |
| MbRegionBooleanParams (const MbRegionBooleanParams &p) | |
| Copy-constructor. | |
| RegionOperationType | OperationType () const |
| Get a boolean operation type. | |
| void | OperationType (RegionOperationType type) |
| Set a boolean operation type. | |
| bool | MergeCurves () const |
| Get the flag of similar segments merging. | |
| void | MergeCurves (bool b) |
| Set the flag of similar segments merging. | |
| bool | AllowSelfTouch () const |
| Get the flag of self-touching acceptability. | |
| void | AllowSelfTouch (bool b) |
| Set the flag of self-touching acceptability. | |
| double | GetXAcc () const |
| Get accuracy along x-axis. | |
| void | SetXAcc (double xa) |
| Set accuracy along x-axis. | |
| double | GetYAcc () const |
| Get accuracy along y-axis. | |
| void | SetYAcc (double ya) |
| Set accuracy along y-axis. | |
| double | GetAngleAcc () const |
| Get angular accuracy. | |
| void | SetAngleAcc (double aa) |
| Set angular accuracy. | |
| const MbRegionBooleanParams & | operator= (const MbRegionBooleanParams &p) |
| An assignment operator. | |
Protected Attributes | |
| RegionOperationType | operType |
| А Boolean operation type. | |
| bool | allowSelfTouch |
| Admissibility of self-touches as a result.. | |
| bool | mergeCurves |
| Merge similar segments of curves. | |
| double | xAcc |
| Accuracy along x-axis. | |
| double | yAcc |
| Accuracy along y-axis. | |
| double | angleAcc |
| Angular accuracy. | |
Boolean operation parameters over regions.
Boolean operation parameters over regions.
|
inline |
Constructor.
Constructor by a operation type, flags for self-touches and similar segments merging and accuracies
| [in] | type | - А Boolean operation type. |
| [in] | allowSelfTouch | - The flag of self-touching acceptability. |
| [in] | mergeCurves | - The flag of similar segments merging. |
| [in] | xAcc | - Accuracy along x-axis. |
| [in] | xAcc | - Accuracy along y-axis. |
| [in] | angleAcc | - Angular accuracy. |