mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
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.
104 lines
3.1 KiB
Plaintext
104 lines
3.1 KiB
Plaintext
-- Created on: 1991-01-14
|
|
-- Created by: Arnaud BOUZY
|
|
-- Copyright (c) 1991-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 SystemRelation from Expr
|
|
|
|
inherits GeneralRelation from Expr
|
|
|
|
uses SequenceOfGeneralRelation from Expr,
|
|
GeneralExpression from Expr,
|
|
NamedUnknown from Expr,
|
|
AsciiString from TCollection
|
|
|
|
raises OutOfRange,NoSuchObject,DimensionMismatch,NumericError
|
|
|
|
is
|
|
|
|
Create(relation : GeneralRelation)
|
|
---Purpose: Creates a system with one relation
|
|
---Level : Advanced
|
|
returns mutable SystemRelation;
|
|
|
|
Add(me : mutable; relation : GeneralRelation)
|
|
---Purpose: Appends <relation> in the list of components of <me>.
|
|
---Level : Advanced
|
|
is static;
|
|
|
|
Remove(me : mutable; relation : GeneralRelation)
|
|
---Level : Internal
|
|
raises NoSuchObject,DimensionMismatch
|
|
is static;
|
|
|
|
IsLinear(me)
|
|
---Purpose: Tests if <me> is linear between its NamedUnknowns.
|
|
returns Boolean
|
|
is static;
|
|
|
|
NbOfSubRelations(me)
|
|
---Purpose: Returns the number of relations contained in <me>.
|
|
returns Integer
|
|
is static;
|
|
|
|
NbOfSingleRelations(me)
|
|
---Purpose: Returns the number of SingleRelations contained in
|
|
-- <me>.
|
|
returns Integer
|
|
is static;
|
|
|
|
SubRelation(me; index : Integer)
|
|
---Purpose: Returns the relation denoted by <index> in <me>.
|
|
-- An exception is raised if <index> is out of range.
|
|
returns any GeneralRelation
|
|
raises OutOfRange
|
|
is static;
|
|
|
|
IsSatisfied(me)
|
|
returns Boolean;
|
|
|
|
Simplified(me)
|
|
---Purpose: Returns a GeneralRelation after replacement of
|
|
-- NamedUnknowns by an associated expression, and after
|
|
-- values computation.
|
|
returns mutable GeneralRelation
|
|
raises NumericError;
|
|
|
|
Simplify(me : mutable)
|
|
---Purpose: Replaces NamedUnknowns by associated expressions,
|
|
-- and computes values in <me>.
|
|
raises NumericError;
|
|
|
|
Copy(me)
|
|
---Purpose: Returns a copy of <me> having the same unknowns and functions.
|
|
returns mutable like me;
|
|
|
|
Contains(me; exp : GeneralExpression)
|
|
---Purpose: Tests if <me> contains <exp>.
|
|
returns Boolean;
|
|
|
|
Replace(me : mutable ; var : NamedUnknown ; with : GeneralExpression);
|
|
---Purpose: Replaces all occurences of <var> with <with> in <me>.
|
|
|
|
String(me)
|
|
---Purpose: returns a string representing <me> in a readable way.
|
|
returns AsciiString;
|
|
|
|
fields
|
|
|
|
myRelations : SequenceOfGeneralRelation;
|
|
|
|
|
|
end SystemRelation;
|