mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03: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.
62 lines
2.8 KiB
Plaintext
62 lines
2.8 KiB
Plaintext
-- Created on: 1994-06-01
|
|
-- Created by: Christian CAILLET
|
|
-- Copyright (c) 1994-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 AutoCorrect from IGESSelect inherits ModelModifier from IGESSelect
|
|
|
|
---Purpose : Does the absolutely effective corrections on IGES Entity.
|
|
-- That is to say : regarding the norm in details, some values
|
|
-- have mandatory values, or set of values with constraints.
|
|
-- When such values/constraints are univoque, they can be forced.
|
|
-- Also nullifies items of Directory Part, Associativities, and
|
|
-- Properties, which are not (or not longer) in <target> Model.
|
|
--
|
|
-- Works by calling a BasicEditor from IGESData
|
|
-- Works with the specific IGES Services : DirChecker which
|
|
-- allows to correct data in "Directory Part" of Entities (such
|
|
-- as required values for status, or references to be null), and
|
|
-- the specific IGES service OwnCorrect, which is specialised for
|
|
-- each type of entity.
|
|
--
|
|
-- Remark : this does not comprise the computation of use flag or
|
|
-- subordinate status according references, which is made by
|
|
-- the ModelModifier class ComputeStatus.
|
|
--
|
|
-- The Input Selection, when present, designates the entities to
|
|
-- be corrected. If it is not present, all the entities of the
|
|
-- model are corrected.
|
|
|
|
uses AsciiString from TCollection,
|
|
CopyTool, IGESModel, ContextModif,
|
|
GeneralLib, SpecificLib, IGESEntity
|
|
|
|
is
|
|
|
|
Create returns AutoCorrect;
|
|
---Purpose : Creates an AutoCorrect.
|
|
|
|
Performing (me; ctx : in out ContextModif;
|
|
target : IGESModel;
|
|
TC : in out CopyTool);
|
|
---Purpose : Specific action : corrects entities when it is absolutely
|
|
-- obvious, i.e. non equivoque (by DirChecker and specific
|
|
-- service OwnCorrect) : works with a protocol.
|
|
|
|
Label (me) returns AsciiString from TCollection;
|
|
---Purpose : Returns a text which is
|
|
-- "Auto-correction of IGES Entities"
|
|
|
|
end AutoCorrect;
|