This method trims the curve to the part between "from" and "to". The base-method sets fromParam = from and toParam = to. In general this is not the best solution. So it is better to override this method without calling to the base method.
[Visual Basic] Public Overridable Sub Slice( _ ByVal from As Double, _ ByVal to As Double _ )