mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
License statement text corrected; compiler warnings caused by Bison 2.41 disabled for MSVC; a few other compiler warnings on 54-bit Windows eliminated by appropriate type cast Wrong license statements corrected in several files. Copyright and license statements added in XSD and GLSL files. Copyright year updated in some files. Obsolete documentation files removed from DrawResources.
80 lines
2.5 KiB
Plaintext
80 lines
2.5 KiB
Plaintext
-- Created on: 2004-09-03
|
|
-- Created by: Oleg FEDYAEV
|
|
-- Copyright (c) 2004-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 CheckResult from BOPAlgo
|
|
---Purpose: contains information about faulty shapes and faulty types
|
|
--- can't be processed by Boolean Operations
|
|
|
|
uses
|
|
|
|
Shape from TopoDS,
|
|
CheckStatus from BOPAlgo,
|
|
ListOfShape from BOPCol
|
|
|
|
is
|
|
|
|
Create
|
|
returns CheckResult;
|
|
---Purpose: empty constructor
|
|
|
|
SetShape1(me: in out; TheShape : Shape from TopoDS);
|
|
---Purpose: sets ancestor shape (object) for faulty sub-shapes
|
|
|
|
AddFaultyShape1(me: in out; TheShape: Shape from TopoDS);
|
|
---Purpose: adds faulty sub-shapes from object to a list
|
|
|
|
SetShape2(me: in out; TheShape: Shape from TopoDS);
|
|
---Purpose: sets ancestor shape (tool) for faulty sub-shapes
|
|
|
|
AddFaultyShape2(me: in out; TheShape: Shape from TopoDS);
|
|
---Purpose: adds faulty sub-shapes from tool to a list
|
|
|
|
GetShape1(me)
|
|
returns Shape from TopoDS;
|
|
---C++: return const&
|
|
---Purpose: returns ancestor shape (object) for faulties
|
|
|
|
GetShape2(me)
|
|
returns Shape from TopoDS;
|
|
---C++: return const&
|
|
---Purpose: returns ancestor shape (tool) for faulties
|
|
|
|
GetFaultyShapes1(me)
|
|
returns ListOfShape from BOPCol;
|
|
---C++: return const&
|
|
---Purpose: returns list of faulty shapes for object
|
|
|
|
GetFaultyShapes2(me)
|
|
returns ListOfShape from BOPCol;
|
|
---C++: return const&
|
|
---Purpose: returns list of faulty shapes for tool
|
|
|
|
SetCheckStatus(me: in out; TheStatus: CheckStatus from BOPAlgo);
|
|
---Purpose: set status of faulty
|
|
|
|
GetCheckStatus(me)
|
|
returns CheckStatus from BOPAlgo;
|
|
---Purpose: gets status of faulty
|
|
|
|
fields
|
|
|
|
myShape1 : Shape from TopoDS;
|
|
myShape2 : Shape from TopoDS;
|
|
myStatus : CheckStatus from BOPAlgo;
|
|
myFaulty1 : ListOfShape from BOPCol;
|
|
myFaulty2 : ListOfShape from BOPCol;
|
|
|
|
end CheckResult;
|