I don't get it.  The second parameter to `evalDerivative()` (no underscore) is `extrapolate`, not `segmentIndex`, so you're not, in fact, doing what you claim to be doing.  Passing `0` means passing `false`, so you just end up in
```c++
evalDerivative_(xMin(), segmentIndex_(xMin())
```
Is that really what you want?