mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-02 09:46:43 +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.
92 lines
3.3 KiB
Plaintext
92 lines
3.3 KiB
Plaintext
-- Created on: 1993-01-11
|
|
-- Created by: CKY / Contract Toubro-Larsen ( Niraj RANGWALA )
|
|
-- Copyright (c) 1993-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 ViewsVisible from IGESDraw inherits ViewKindEntity
|
|
|
|
---Purpose : Defines IGESViewsVisible, Type <402>, Form <3>
|
|
-- in package IGESDraw
|
|
--
|
|
-- If an entity is to be displayed in more than one views,
|
|
-- this class instance is used, which contains the Visible
|
|
-- views and the associated entity Displays.
|
|
|
|
uses
|
|
|
|
IGESEntity from IGESData,
|
|
HArray1OfIGESEntity from IGESData,
|
|
HArray1OfViewKindEntity from IGESDraw
|
|
|
|
raises OutOfRange
|
|
|
|
is
|
|
|
|
Create returns ViewsVisible;
|
|
|
|
-- Specific Methods pertaining to the class
|
|
|
|
Init (me : mutable;
|
|
allViewEntities : HArray1OfViewKindEntity;
|
|
allDisplayEntity : HArray1OfIGESEntity);
|
|
---Purpose : This method is used to set the fields of the class
|
|
-- ViewsVisible
|
|
-- - allViewEntities : All View kind entities
|
|
-- - allDisplayEntity : All entities whose display is specified
|
|
|
|
InitImplied (me : mutable; allDisplayEntity : HArray1OfIGESEntity);
|
|
---Purpose : Changes only the list of Displayed Entities (Null allowed)
|
|
|
|
IsSingle (me) returns Boolean;
|
|
---Purpose : Returns False (for a complex view)
|
|
|
|
NbViews (me) returns Integer;
|
|
---Purpose : returns the Number of views visible
|
|
|
|
|
|
NbDisplayedEntities (me) returns Integer;
|
|
---Purpose : returns the number of entities displayed in the Views or zero if
|
|
-- no Entities specified in these Views
|
|
|
|
ViewItem (me; Index : Integer) returns ViewKindEntity
|
|
raises OutOfRange;
|
|
---Purpose : returns the Index'th ViewKindEntity Entity
|
|
-- raises exception if Index <= 0 or Index > NbViewsVisible()
|
|
|
|
DisplayedEntity (me; Index : Integer) returns IGESEntity
|
|
raises OutOfRange;
|
|
---Purpose : returns the Index'th entity whose display is being specified by
|
|
-- this associativity instance
|
|
-- raises exception if Index <= 0 or Index > NbEntityDisplayed()
|
|
|
|
fields
|
|
|
|
--
|
|
-- Class : IGESDraw_ViewsVisible
|
|
--
|
|
-- Purpose : Declaration of the variables specific to a ViewsVisible.
|
|
--
|
|
-- Reminder : A ViewsVisible is defined by :
|
|
-- - Number of View visible
|
|
-- - Pointer to each of the view entity visible
|
|
-- - Number of entities whose display is specified
|
|
-- - Pointer to each of those entities
|
|
--
|
|
|
|
theViewEntities : HArray1OfViewKindEntity;
|
|
|
|
theDisplayEntity : HArray1OfIGESEntity;
|
|
|
|
end ViewsVisible;
|