1 -- Created on: 1995-10-12
2 -- Created by: Bruno DUMORTIER
3 -- Copyright (c) 1995-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
8 -- This library is free software; you can redistribute it and/or modify it under
9 -- the terms of the GNU Lesser General Public License version 2.1 as published
10 -- by the Free Software Foundation, with special exception defined in the file
11 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 -- distribution for complete text of the license and disclaimer of any warranty.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
49 -- Lists the offset modes. These are the following:
50 -- - BRepOffset_Skin which describes the offset along
51 -- the surface of a solid, used to obtain a manifold topological space,
52 -- - BRepOffset_Pipe which describes the offset of a
53 -- curve, used to obtain a pre-surface,
54 -- - BRepOffset_RectoVerso which describes the offset
55 -- of a given surface shell along both sides of the surface.
58 ---Purpose: status of an offset face
60 -- Reversed : e.g. Offset > Radius of a cylinder
61 -- Degenerated : e.g. Offset = Radius of a cylinder
62 -- Unknown : e.g. for a Beziersurf
101 class ListOfInterval instantiates
102 List from TCollection (Interval from BRepOffset);
104 class DataMapOfShapeListOfInterval instantiates
105 DataMap from TCollection(Shape from TopoDS,
106 ListOfInterval from BRepOffset,
107 ShapeMapHasher from TopTools );
109 class DataMapOfShapeOffset instantiates
110 DataMap from TCollection(Shape from TopoDS,
111 Offset from BRepOffset,
112 ShapeMapHasher from TopTools );
114 class DataMapOfShapeMapOfShape instantiates
115 DataMap from TCollection(Shape from TopoDS,
116 MapOfShape from TopTools,
117 ShapeMapHasher from TopTools);
120 Surface( Surface : in Surface from Geom;
121 Offset : in Real from Standard;
122 Status : out Status from BRepOffset)
123 ---Purpose: returns the Offset surface computed from the
124 -- surface <Surface> at an OffsetDistance <Offset>.
126 -- If possible, this method returns the real type of
127 -- the surface ( e.g. An Offset of a plane is a plane).
129 -- If no particular case is detected, the returned
130 -- surface will have the Type Geom_OffsetSurface.
131 returns Surface from Geom;