-- Created on: 1999-05-13 -- Created by: data exchange team -- Copyright (c) 1999 Matra Datavision -- Copyright (c) 1999-2014 OPEN CASCADE SAS -- -- This file is part of Open CASCADE Technology software library. -- -- This library is free software; you can redistribute it and/or modify it under -- the terms of the GNU Lesser General Public License version 2.1 as published -- by the Free Software Foundation, with special exception defined in the file -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT -- distribution for complete text of the license and disclaimer of any warranty. -- -- Alternatively, this file may be used under the terms of Open CASCADE -- commercial license or contractual agreement. class ConvertCurve2dToBezier from ShapeUpgrade inherits SplitCurve2d from ShapeUpgrade ---Purpose: converts/splits a 2d curve to a list of beziers uses HSequenceOfCurve from TColGeom2d, HSequenceOfReal from TColStd is Create returns ConvertCurve2dToBezier from ShapeUpgrade; ---Purpose: Empty constructor. Compute(me: mutable) is redefined; ---Purpose: Converts curve into a list of beziers, and stores the -- splitting parameters on original curve. Build (me: mutable; Segment: Boolean) is redefined; ---Purpose: Splits a list of beziers computed by Compute method according -- the split values and splitting parameters. Segments(me) returns HSequenceOfCurve from TColGeom2d is private; ---Purpose: Returns the list of bezier curves correspondent to original -- curve. SplitParams(me) returns HSequenceOfReal from TColStd; ---Purpose: Returns the list of splitted parameters in original curve -- parametrisation. fields mySegments : HSequenceOfCurve from TColGeom2d; mySplitParams: HSequenceOfReal from TColStd; end ConvertCurve2dToBezier;