clip a curve , and return a curveset2d . if the curve is totally outside the box , return a curveset2d with 0 curves inside . if the curve is totally inside the box , return a curveset2d with only one curve , which is the original curve . concode_field_sep PlaceHolder placeHolder concode_field_sep ContourArray2D<Contour2D> clipBoundary concode_elem_sep Polyline2D getBoundaryPortion concode_elem_sep int findNextCurveIndex
CurveSet2D < ContinuousOrientedCurve2D > function ( ContinuousOrientedCurve2D arg0 , Box2D arg1 ) { CurveArray2D < ContinuousOrientedCurve2D > loc0 = new CurveArray2D < ContinuousOrientedCurve2D > ( ) ; for ( ContinuousCurve2D loc1 : Curves2D . clipContinuousCurve ( arg0 , arg1 ) ) if ( loc1 instanceof ContinuousOrientedCurve2D ) loc0 . add ( ( ContinuousOrientedCurve2D ) loc1 ) ; return loc0 ; }