| 28 | } |
| 29 | |
| 30 | Node* HullModule::evaluate(const Context& ctx) const |
| 31 | { |
| 32 | bool concave=false; |
| 33 | auto* concaveVal = dynamic_cast<BooleanValue*>(getParameterArgument(ctx,0)); |
| 34 | if(concaveVal) |
| 35 | concave=concaveVal->isTrue(); |
| 36 | |
| 37 | auto* d = new HullNode(); |
| 38 | d->setConcave(concave); |
| 39 | d->setChildren(ctx.getInputNodes()); |
| 40 | return d; |
| 41 | } |
nothing calls this directly
no test coverage detected