Files
OCCT/src/Approx/Approx_CurveOnSurface.cdl
abv d5f74e42d6 0024624: Lost word in license statement in source files
License statement text corrected; compiler warnings caused by Bison 2.41 disabled for MSVC; a few other compiler warnings on 54-bit Windows eliminated by appropriate type cast
Wrong license statements corrected in several files.
Copyright and license statements added in XSD and GLSL files.
Copyright year updated in some files.
Obsolete documentation files removed from DrawResources.
2014-02-20 16:15:17 +04:00

80 lines
2.4 KiB
Plaintext

-- Created on: 1997-09-30
-- Created by: Roman BORISOV
-- Copyright (c) 1997-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 CurveOnSurface from Approx
---Purpose:
---Purpose: Approximation of curve on surface
uses
Surface from Geom,
HCurve2d from Adaptor2d,
HSurface from Adaptor3d,
BSplineCurve from Geom,
BSplineCurve from Geom2d,
Shape from GeomAbs
raises OutOfRange from Standard,
ConstructionError from Standard
is
Create (C2D : HCurve2d from Adaptor2d;
Surf : HSurface from Adaptor3d;
First,
Last,
Tol : Real;
Continuity : Shape from GeomAbs;
MaxDegree : Integer ;
MaxSegments : Integer;
Only3d,
Only2d : Boolean from Standard = Standard_False)
returns CurveOnSurface from Approx
raises ConstructionError;
IsDone(me) returns Boolean from Standard;
HasResult(me) returns Boolean from Standard;
Curve3d(me)
returns BSplineCurve from Geom;
MaxError3d(me) returns Real;
Curve2d(me)
---Purpose:
returns BSplineCurve from Geom2d;
MaxError2dU(me) returns Real;
MaxError2dV(me) returns Real;
---Purpose : returns the maximum errors relativly to the U component or the V component of the
-- 2d Curve
fields
myCurve2d : BSplineCurve from Geom2d;
myCurve3d : BSplineCurve from Geom;
myIsDone : Boolean from Standard;
myHasResult : Boolean from Standard;
myError3d : Real from Standard;
myError2dU : Real from Standard;
myError2dV : Real from Standard;
end CurveOnSurface;