1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-09 18:50:54 +03:00
occt/src/BRepAlgo/BRepAlgo.cdl
ski ff8178ef85 0024784: Move documentation in CDL files to proper location
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
2014-05-29 16:06:49 +04:00

154 lines
5.0 KiB
Plaintext

-- Created on: 1997-01-17
-- Created by: Didier PIFFAULT
-- Copyright (c) 1997-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.
-- Modified David CARBONEL
-- Add of Sewing class
package BRepAlgo
---Purpose:
-- The BRepAlgo package provides a full range of
-- services to perform Old Boolean Operations in Open CASCADE.
-- Attention:
-- The New Boolean Operation has replaced the Old
-- Boolean Operations algorithm in the BrepAlgoAPI
-- package in Open CASCADE.
uses
BRep,
BRepTools,
BRepBuilderAPI,
Bnd,
Standard,
TCollection,
TColStd,
TopAbs,
GeomAbs,
GeomTools,
Geom,
Geom2d,
gp,
MMgt,
TopExp,
TopAbs,
TopLoc,
TColgp,
TColStd,
TCollection,
TopoDS,
TopTools,
TopOpeBRepDS,
TopOpeBRepBuild,
TopOpeBRep,
Adaptor3d,
StdFail
is
enumeration CheckStatus is
OK, NOK
end CheckStatus;
--BRepAlgoAPI f
deferred class BooleanOperation;
class Fuse;
class Cut;
class Common;
class Section;
--BRepAlgoAPI t
--
-- Use of face topological builder
--
class Loop;
class Tool;
class Image;
class AsDes;
class FaceRestrictor;
class BooleanOperations;
---Purpose:
class DSAccess;
---Purpose:
class EdgeConnector;
---Purpose:
class NormalProjection;
-- class Sewing; now it is in BRepBuilderAPI
class DataMapOfShapeBoolean instantiates
DataMap from TCollection(Shape from TopoDS,
Boolean from Standard,
ShapeMapHasher from TopTools);
class DataMapOfShapeInterference instantiates
DataMap from TCollection(Shape from TopoDS,
Interference from TopOpeBRepDS,
ShapeMapHasher from TopTools);
class SequenceOfSequenceOfInteger instantiates
Sequence from TCollection(SequenceOfInteger from TColStd);
ConcatenateWire(Wire : Wire from TopoDS;
Option : Shape from GeomAbs;
AngularTolerance : Real = 1.0e-4)
---Purpose: this method makes a wire whose edges are C1 from
-- a Wire whose edges could be G1. It removes a vertex
-- between G1 edges.
-- Option can be G1 or C1.
returns Wire from TopoDS;
ConcatenateWireC0(Wire : Wire from TopoDS)
---Purpose: this method makes an edge from a wire.
-- Junction points between edges of wire may be sharp,
-- resulting curve of the resulting edge may be C0.
returns Edge from TopoDS;
--BRepAlgoAPI f
IsValid(S: Shape from TopoDS)
returns Boolean from Standard
raises NullObject from Standard;
---Purpose: Checks if the shape is "correct". If not, returns
-- <Standard_False>, else returns <Standard_True>.
IsValid(theArgs : ListOfShape from TopTools;
theResult : Shape from TopoDS;
closedSolid : Boolean from Standard = Standard_False;
GeomCtrl : Boolean from Standard = Standard_True)
returns Boolean from Standard;
---Purpose: Checks if the Generated and Modified Faces from
-- the shapes <arguments> in the shape <result> are
-- "correct". The args may be empty, then all faces
-- will be checked.
-- If <Closed> is True, only closed shape are valid.
-- If <GeomCtrl> is False the geometry of new
-- vertices and edges are not verified and the
-- auto-intersection of new wires are not searched.
IsTopologicallyValid(S: Shape from TopoDS)
returns Boolean from Standard
raises NullObject from Standard;
---Purpose: Checks if the shape is "correct". If not, returns
-- <Standard_False>, else returns <Standard_True>.
-- This method differs from the previous one in the
-- fact that no geometric contols (intersection of
-- wires, pcurve validity) are performed.
--BRepAlgoAPI t
end BRepAlgo;