mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-18 17:06:14 +08:00
Mostly duplicated comments were removed and missing ones were moved into dedicated class CDL files. Some more duplicated comments were removed from CDL files. Correction of merge
93 lines
2.9 KiB
Plaintext
93 lines
2.9 KiB
Plaintext
-- Created on: 1996-04-09
|
|
-- Created by: Joelle CHAUVET
|
|
-- Copyright (c) 1996-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 Iso from AdvApp2Var
|
|
---Purpose :
|
|
-- used to store constraints on a line U = Ui or V = Vj
|
|
--
|
|
|
|
uses
|
|
|
|
Boolean,Integer,Real from Standard,
|
|
HArray1OfReal from TColStd,
|
|
HArray2OfReal from TColStd,
|
|
HArray1OfPnt from TColgp,
|
|
IsoType from GeomAbs,
|
|
EvaluatorFunc2Var,Context,Node from AdvApp2Var
|
|
|
|
|
|
is
|
|
|
|
Create returns Iso;
|
|
Create(type : IsoType from GeomAbs; iu, iv : Integer) returns Iso;
|
|
Create(type : IsoType from GeomAbs; cte : Real;
|
|
Ufirst, Ulast, Vfirst, Vlast : Real;
|
|
pos, iu, iv : Integer) returns Iso;
|
|
Create(Other : Iso) returns Iso is private;
|
|
IsApproximated(me) returns Boolean;
|
|
HasResult(me) returns Boolean;
|
|
MakeApprox(me: in out; Conditions : Context;
|
|
a,b,c,d : Real;
|
|
func : EvaluatorFunc2Var;
|
|
NodeBegin, NodeEnd : in out Node from AdvApp2Var );
|
|
ChangeDomain(me: in out; a,b : Real);
|
|
ChangeDomain(me: in out; a,b,c,d : Real);
|
|
SetConstante(me: in out; newcte : Real);
|
|
SetPosition(me: in out; newpos : Integer);
|
|
ResetApprox(me: in out);
|
|
OverwriteApprox(me: in out);
|
|
Type(me) returns IsoType;
|
|
Constante(me) returns Real;
|
|
T0(me) returns Real;
|
|
T1(me) returns Real;
|
|
U0(me) returns Real;
|
|
U1(me) returns Real;
|
|
V0(me) returns Real;
|
|
V1(me) returns Real;
|
|
UOrder(me) returns Integer;
|
|
VOrder(me) returns Integer;
|
|
Position(me) returns Integer;
|
|
NbCoeff(me) returns Integer;
|
|
Polynom(me)
|
|
---C++: return const &
|
|
returns HArray1OfReal;
|
|
SomTab(me) returns HArray1OfReal;
|
|
DifTab(me) returns HArray1OfReal;
|
|
MaxErrors(me) returns HArray2OfReal;
|
|
MoyErrors(me) returns HArray2OfReal;
|
|
|
|
|
|
fields
|
|
|
|
myType : IsoType from GeomAbs;
|
|
myConstPar : Real;
|
|
myU0, myU1 : Real;
|
|
myV0, myV1 : Real;
|
|
myPosition : Integer;
|
|
myExtremOrder : Integer;
|
|
myDerivOrder : Integer;
|
|
myNbCoeff : Integer;
|
|
myApprIsDone : Boolean;
|
|
myHasResult : Boolean;
|
|
myEquation : HArray1OfReal;
|
|
myMaxErrors : HArray2OfReal;
|
|
myMoyErrors : HArray2OfReal;
|
|
mySomTab : HArray1OfReal;
|
|
myDifTab : HArray1OfReal;
|
|
|
|
end Iso;
|
|
|