mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-13 10:49:16 +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.
122 lines
5.2 KiB
Plaintext
122 lines
5.2 KiB
Plaintext
-- Created on: 1995-12-07
|
|
-- Created by: Frederic MAUPAS
|
|
-- Copyright (c) 1995-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 GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx from StepGeom
|
|
|
|
inherits RepresentationContext from StepRepr
|
|
|
|
-- This is a hand made implementation of EXPRESS ANDOR construct
|
|
-- It gather 3 Types :
|
|
-- GeometricRepresentationContext
|
|
-- GlobalUnitAssignedContext
|
|
-- GlobalUncertaintyAssignedContext
|
|
-- Common Supertype is RepresentationContext
|
|
|
|
uses
|
|
|
|
GeometricRepresentationContext from StepGeom,
|
|
GlobalUnitAssignedContext from StepRepr,
|
|
GlobalUncertaintyAssignedContext from StepRepr,
|
|
HArray1OfUncertaintyMeasureWithUnit from StepBasic,
|
|
UncertaintyMeasureWithUnit from StepBasic,
|
|
HArray1OfNamedUnit from StepBasic,
|
|
NamedUnit from StepBasic,
|
|
HAsciiString from TCollection,
|
|
Integer from Standard
|
|
|
|
|
|
is
|
|
|
|
Create returns GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx;
|
|
|
|
Init (me : mutable;
|
|
aContextIdentifier : HAsciiString from TCollection;
|
|
aContextType : HAsciiString from TCollection) is redefined;
|
|
|
|
Init(me : mutable;
|
|
aContextIdentifier : HAsciiString from TCollection;
|
|
aContextType : HAsciiString from TCollection;
|
|
aGeometricRepresentationCtx : GeometricRepresentationContext from StepGeom;
|
|
aGlobalUnitAssignedCtx : GlobalUnitAssignedContext from StepRepr;
|
|
aGlobalUncertaintyAssignedCtx : GlobalUncertaintyAssignedContext from StepRepr)
|
|
is virtual;
|
|
|
|
Init(me : mutable;
|
|
aContextIdentifier : HAsciiString from TCollection;
|
|
aContextType : HAsciiString from TCollection;
|
|
aCoordinateSpaceDimension : Integer from Standard;
|
|
aUnits : HArray1OfNamedUnit from StepBasic;
|
|
anUncertainty : HArray1OfUncertaintyMeasureWithUnit from StepBasic)
|
|
is virtual;
|
|
|
|
-- ====================================== --
|
|
-- Specific Methods for Field Data Access --
|
|
-- ====================================== --
|
|
|
|
SetGeometricRepresentationContext
|
|
(me : mutable;
|
|
aGeometricRepresentationContext : GeometricRepresentationContext);
|
|
|
|
GeometricRepresentationContext (me)
|
|
returns GeometricRepresentationContext;
|
|
|
|
SetGlobalUnitAssignedContext
|
|
(me : mutable;
|
|
aGlobalUnitAssignedContext : GlobalUnitAssignedContext);
|
|
|
|
GlobalUnitAssignedContext (me)
|
|
returns GlobalUnitAssignedContext;
|
|
|
|
SetGlobalUncertaintyAssignedContext
|
|
(me : mutable;
|
|
aGlobalUncertaintyAssignedCtx : GlobalUncertaintyAssignedContext from StepRepr);
|
|
|
|
GlobalUncertaintyAssignedContext(me)
|
|
returns GlobalUncertaintyAssignedContext from StepRepr;
|
|
|
|
-- ============================================================================= --
|
|
-- Specific Methods for ANDOR Field Data Access : GeometricRepresentationContext --
|
|
-- ============================================================================= --
|
|
|
|
SetCoordinateSpaceDimension(me : mutable; aCoordinateSpaceDimension : Integer);
|
|
CoordinateSpaceDimension (me) returns Integer;
|
|
|
|
-- ====================================================================== --
|
|
-- Specific Methods for ANDOR Field Data Access GlobalUnitAssignedContext --
|
|
-- ====================================================================== --
|
|
|
|
SetUnits(me : mutable; aUnits : HArray1OfNamedUnit);
|
|
Units (me) returns HArray1OfNamedUnit;
|
|
UnitsValue (me; num : Integer) returns NamedUnit;
|
|
NbUnits (me) returns Integer;
|
|
|
|
-- ============================================================================= --
|
|
-- Specific Methods for ANDOR Field Data Access GlobalUncertaintyAssignedContext --
|
|
-- ============================================================================= --
|
|
|
|
SetUncertainty(me : mutable; aUncertainty : HArray1OfUncertaintyMeasureWithUnit);
|
|
Uncertainty (me) returns HArray1OfUncertaintyMeasureWithUnit;
|
|
UncertaintyValue (me; num : Integer) returns UncertaintyMeasureWithUnit;
|
|
NbUncertainty (me) returns Integer;
|
|
|
|
fields
|
|
|
|
geometricRepresentationContext : GeometricRepresentationContext from StepGeom;
|
|
globalUnitAssignedContext : GlobalUnitAssignedContext from StepRepr;
|
|
globalUncertaintyAssignedContext : GlobalUncertaintyAssignedContext from StepRepr;
|
|
|
|
end GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx;
|