0025246: Make methods Intervals and NbIntervals const in Adaptor3d_Curve and it desce...
[occt.git] / src / GeomAdaptor / GeomAdaptor_Curve.cdl
old mode 100755 (executable)
new mode 100644 (file)
index 1721972..c286374
@@ -1,13 +1,25 @@
--- File:      GeomAdaptor_Curve.cdl
--- Created:   Tue Sep  1 10:58:10 1992
--- Author:    Modelistation
----Copyright: Matra Datavision 1992
+-- Created on: 1992-09-01
+-- Created by: Modelistation
+-- Copyright (c) 1992-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 Curve from GeomAdaptor inherits Curve from Adaptor3d
         
        ---Purpose: This class provides an interface between the services provided by any
        -- curve from the package Geom and those required of the curve by algorithms which use it.
-        
+      -- Creation of the loaded curve the curve is C1 by piece.
+
 uses Vec                  from gp,
      Pnt                  from gp,
      Circ                 from gp,
@@ -52,6 +64,7 @@ is
    Load(me : in out; C : Curve from Geom; UFirst,ULast : Real)
    raises 
        ConstructionError from Standard;
+        ---C++: inline
        ---Purpose: ConstructionError is raised if Ufirst>Ulast
 
    Curve(me) returns Curve from Geom
@@ -75,12 +88,12 @@ is
    Continuity(me) returns Shape from GeomAbs
    is redefined static;
 
-   NbIntervals(me:in out; S : Shape from GeomAbs) returns Integer
+   NbIntervals(me; S : Shape from GeomAbs) returns Integer
        ---Purpose: Returns  the number  of  intervals for  continuity
        --          <S>. May be one if Continuity(me) >= <S>
    is redefined static;
 
-   Intervals(me: in out; T : in out Array1OfReal from TColStd; 
+   Intervals(me; T : in out Array1OfReal from TColStd; 
                  S : Shape from GeomAbs)
        ---Purpose: Stores in <T> the  parameters bounding the intervals
        --          of continuity <S>.
@@ -263,6 +276,9 @@ is
 
    LocalContinuity(me; U1, U2 : Real) returns Shape from GeomAbs 
    is static private;
+
+   load(me : in out; C : Curve from Geom; UFirst,ULast : Real)
+   is private;
    
 fields