trimPath function
Implementation
Path trimPath(Path path, double startT, double stopT, bool complement,
bool isSequential) {
if (isSequential) {
return _trimPathSequential(path, startT, stopT, complement);
} else {
return _trimPathSync(path, startT, stopT, complement);
}
}