1 -- Created on: 1993-03-24
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
8 -- This library is free software; you can redistribute it and/or modify it under
9 -- the terms of the GNU Lesser General Public License version 2.1 as published
10 -- by the Free Software Foundation, with special exception defined in the file
11 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 -- distribution for complete text of the license and disclaimer of any warranty.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 deferred class BoundedCurve from Geom2d inherits Curve from Geom2d
19 --- Purpose : The abstract class BoundedCurve describes the
20 -- common behavior of bounded curves in 2D space. A
21 -- bounded curve is limited by two finite values of the
22 -- parameter, termed respectively "first parameter" and
23 -- "last parameter". The "first parameter" gives the "start
24 -- point" of the bounded curve, and the "last parameter"
25 -- gives the "end point" of the bounded curve.
26 -- The length of a bounded curve is finite.
27 -- The Geom2d package provides three concrete
28 -- classes of bounded curves:
29 -- - two frequently used mathematical formulations of complex curves:
30 -- - Geom2d_BezierCurve,
31 -- - Geom2d_BSplineCurve, and
32 -- - Geom2d_TrimmedCurve to trim a curve, i.e. to
33 -- only take part of the curve limited by two values of
34 -- the parameter of the basis curve.
41 EndPoint (me) returns Pnt2d is deferred;
43 -- Returns the end point of the curve.
44 -- The end point is the value of the curve for the
45 -- "LastParameter" of the curve.
48 StartPoint (me) returns Pnt2d is deferred;
50 -- Returns the start point of the curve.
51 -- The start point is the value of the curve for the
52 -- "FirstParameter" of the curve.