mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-18 17:06:14 +08:00
Mostly duplicated comments were removed and missing ones were moved into dedicated class CDL files. Some more duplicated comments were removed from CDL files. Correction of merge
104 lines
3.5 KiB
Plaintext
104 lines
3.5 KiB
Plaintext
-- Created on: 1999-11-17
|
|
-- Created by: Andrey BETENEV
|
|
-- Copyright (c) 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.
|
|
|
|
package STEPConstruct
|
|
|
|
---Purpose: Defines tools for creation and investigation STEP constructs
|
|
-- used for representing various kinds of data, such as product and
|
|
-- assembly structure, unit contexts, associated information
|
|
-- The creation of these structures is made according to currently
|
|
-- active schema (AP203 or AP214 CD2 or DIS)
|
|
-- This is taken from parameter write.step.schema
|
|
|
|
uses
|
|
gp,
|
|
Quantity,
|
|
TCollection,
|
|
TColStd,
|
|
TopTools,
|
|
TopLoc,
|
|
TopoDS,
|
|
Interface,
|
|
Transfer,
|
|
XSControl,
|
|
StepData,
|
|
StepBasic,
|
|
StepGeom,
|
|
StepRepr,
|
|
StepShape,
|
|
StepVisual,
|
|
StepAP203,
|
|
StepAP214
|
|
is
|
|
|
|
class Tool;
|
|
|
|
class UnitContext;
|
|
|
|
class Part;
|
|
|
|
class Assembly;
|
|
|
|
class Styles;
|
|
|
|
class ValidationProps;
|
|
|
|
class ExternRefs;
|
|
|
|
class AP203Context;
|
|
|
|
class ContextTool;
|
|
|
|
--- skl 15.01.2004
|
|
class DataMapOfAsciiStringTransient instantiates
|
|
DataMap from TCollection (AsciiString from TCollection,
|
|
Transient from Standard,
|
|
AsciiString from TCollection);
|
|
|
|
class PointHasher;
|
|
|
|
class DataMapOfPointTransient instantiates
|
|
DataMap from TCollection (Pnt from gp,
|
|
Transient,
|
|
PointHasher from STEPConstruct);
|
|
|
|
|
|
FindEntity (FinderProcess: FinderProcess from Transfer; Shape: Shape from TopoDS)
|
|
returns RepresentationItem from StepRepr;
|
|
---Purpose: Returns STEP entity of the (sub)type of RepresentationItem
|
|
-- which is a result of the tranalation of the Shape, or Null if
|
|
-- no result is recorded
|
|
|
|
FindEntity (FinderProcess: FinderProcess from Transfer; Shape: Shape from TopoDS;
|
|
Loc: out Location from TopLoc)
|
|
returns RepresentationItem from StepRepr;
|
|
---Purpose: The same as above, but in the case if item not found, repeats
|
|
-- search on the same shape without location. The Loc corresponds to the
|
|
-- location with which result is found (either location of the Shape,
|
|
-- or Null)
|
|
|
|
FindShape (TransientProcess: TransientProcess from Transfer; item: RepresentationItem from StepRepr)
|
|
returns Shape from TopoDS;
|
|
---Purpose: Returns Shape resulting from given STEP entity (Null if not mapped)
|
|
|
|
FindCDSR (ComponentBinder: Binder from Transfer;
|
|
AssemblySDR: ShapeDefinitionRepresentation from StepShape;
|
|
ComponentCDSR: out ContextDependentShapeRepresentation from StepShape)
|
|
returns Boolean from Standard;
|
|
---Purpose: Find CDSR correcponding to the component in the specified assembly
|
|
|
|
end STEPConstruct;
|