| 107 | } |
| 108 | |
| 109 | void BasicBooleanApp::doOffset() |
| 110 | { |
| 111 | if( mOffsetType == 0 ) |
| 112 | mPolyResult = calcSquareOffset( mPolyA, mOffsetDistance ); |
| 113 | else if( mOffsetType == 1 ) |
| 114 | mPolyResult = calcRoundOffset( mPolyA, mOffsetDistance ); |
| 115 | else |
| 116 | mPolyResult = calcMiterOffset( mPolyA, mOffsetDistance ); |
| 117 | } |
| 118 | |
| 119 | void BasicBooleanApp::setup() |
| 120 | { |
nothing calls this directly
no test coverage detected