mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-26 01:57:30 +08:00
Redundant keyword 'mutable' removed in CDL files. In IGESConvGeom_GeomBuilder, unused methods MakeXY() and MakeXYZ() removed. Method StepAP214_AutoDesignGroupAssignment::Init() replicating same method of the base class is removed as it causes CDL extraction error after above (seemingly irrelevant) changes.
108 lines
3.1 KiB
Plaintext
108 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.
|
|
|
|
deferred class GeneralRelation from Expr
|
|
|
|
inherits TShared from MMgt
|
|
|
|
---Purpose: Defines the general purposes of any relation between
|
|
-- expressions.
|
|
|
|
uses GeneralExpression from Expr,
|
|
NamedUnknown from Expr,
|
|
AsciiString from TCollection
|
|
|
|
|
|
raises OutOfRange from Standard,
|
|
NumericError from Standard
|
|
|
|
is
|
|
|
|
IsSatisfied(me)
|
|
---Purpose: Returns the current status of the relation
|
|
---Level: Advanced
|
|
returns Boolean
|
|
is deferred;
|
|
|
|
IsLinear(me)
|
|
---Purpose: Tests if <me> is linear between its NamedUnknowns.
|
|
---Level: Advanced
|
|
returns Boolean
|
|
is deferred;
|
|
|
|
Simplified(me)
|
|
---Purpose: Returns a GeneralRelation after replacement of
|
|
-- NamedUnknowns by an associated expression, and after
|
|
-- values computation.
|
|
---Level: Advanced
|
|
returns GeneralRelation
|
|
raises NumericError
|
|
is deferred;
|
|
|
|
Simplify(me : mutable)
|
|
---Purpose: Replaces NamedUnknowns by associated expressions,
|
|
-- and computes values in <me>.
|
|
---Level: Advanced
|
|
raises NumericError
|
|
is deferred;
|
|
|
|
Copy(me)
|
|
---Purpose: Returns a copy of <me> having the same unknowns and
|
|
-- functions.
|
|
---Level: Advanced
|
|
returns like me
|
|
is deferred;
|
|
|
|
NbOfSubRelations(me)
|
|
---Purpose: Returns the number of relations contained in <me>.
|
|
---Level: Internal
|
|
returns Integer
|
|
is deferred;
|
|
|
|
NbOfSingleRelations(me)
|
|
---Purpose: Returns the number of SingleRelations contained in
|
|
-- <me>.
|
|
---Level: Internal
|
|
returns Integer
|
|
is deferred;
|
|
|
|
SubRelation(me; index : Integer)
|
|
---Purpose: Returns the relation denoted by <index> in <me>.
|
|
-- An exception is raised if <index> is out of range.
|
|
---Level: Internal
|
|
returns any GeneralRelation
|
|
raises OutOfRange
|
|
is deferred;
|
|
|
|
Contains(me; exp : GeneralExpression)
|
|
---Purpose: Tests if <exp> contains <var>.
|
|
---Level: Internal
|
|
returns Boolean
|
|
is deferred;
|
|
|
|
Replace(me : mutable ; var : NamedUnknown ; with : GeneralExpression)
|
|
---Purpose: Replaces all occurences of <var> with <with> in <me>.
|
|
---Level: Internal
|
|
is deferred;
|
|
|
|
String(me)
|
|
---Purpose: returns a string representing <me> in a readable way.
|
|
---Level: Public
|
|
returns AsciiString
|
|
is deferred;
|
|
|
|
end GeneralRelation;
|