mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-10 17:40:24 +08:00
47 lines
1.2 KiB
Plaintext
Executable File
47 lines
1.2 KiB
Plaintext
Executable File
-- File: LessThan.cdl
|
|
-- Created: Wed Jan 30 09:56:59 1991
|
|
-- Author: Arnaud BOUZY
|
|
-- <adn@topsn3>
|
|
---Copyright: Matra Datavision 1991
|
|
|
|
class LessThan from Expr
|
|
|
|
inherits SingleRelation from Expr
|
|
|
|
uses GeneralExpression from Expr,
|
|
GeneralRelation from Expr,
|
|
AsciiString from TCollection
|
|
|
|
raises NumericError from Standard
|
|
|
|
is
|
|
|
|
Create(exp1 : GeneralExpression ; exp2 : GeneralExpression)
|
|
---Purpose: Creates the relation <exp1> < <exp2>.
|
|
returns mutable LessThan;
|
|
|
|
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;
|
|
|
|
String(me)
|
|
---Purpose: returns a string representing <me> in a readable way.
|
|
returns AsciiString;
|
|
|
|
end LessThan;
|