RhinoCommon API
CurveTrim Method (Interval) | 
            Removes portions of the curve outside the specified interval.
            
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Parameters
- domain
 - Type: Rhino.GeometryInterval
Trimming interval. Portions of the curve before curve(domain[0]) and after curve(domain[1]) are removed. 
Return Value
Type: CurveTrimmed curve if successful, null on failure.