RhinoCommon samples: dividebysegments dividecurvestraight