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
9 -- under the terms of the GNU Lesser General Public 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
87 ---Purpose: This class compute elemenary offset surface.
88 -- Evaluate the offset generated :
107 class ListOfInterval instantiates
108 List from TCollection (Interval from BRepOffset);
110 class DataMapOfShapeListOfInterval instantiates
111 DataMap from TCollection(Shape from TopoDS,
112 ListOfInterval from BRepOffset,
113 ShapeMapHasher from TopTools );
115 class DataMapOfShapeOffset instantiates
116 DataMap from TCollection(Shape from TopoDS,
117 Offset from BRepOffset,
118 ShapeMapHasher from TopTools );
120 class DataMapOfShapeMapOfShape instantiates
121 DataMap from TCollection(Shape from TopoDS,
122 MapOfShape from TopTools,
123 ShapeMapHasher from TopTools);
126 Surface( Surface : in Surface from Geom;
127 Offset : in Real from Standard;
128 Status : out Status from BRepOffset)
129 ---Purpose: returns the Offset surface computed from the
130 -- surface <Surface> at an OffsetDistance <Offset>.
132 -- If possible, this method returns the real type of
133 -- the surface ( e.g. An Offset of a plane is a plane).
135 -- If no particular case is detected, the returned
136 -- surface will have the Type Geom_OffsetSurface.
137 returns Surface from Geom;