1 -- File: BRepOffset.cdl
2 -- Created: Thu Oct 12 10:59:22 1995
3 -- Author: Bruno DUMORTIER
5 ---Copyright: Matra Datavision 1995
38 -- Lists the offset modes. These are the following:
39 -- - BRepOffset_Skin which describes the offset along
40 -- the surface of a solid, used to obtain a manifold topological space,
41 -- - BRepOffset_Pipe which describes the offset of a
42 -- curve, used to obtain a pre-surface,
43 -- - BRepOffset_RectoVerso which describes the offset
44 -- of a given surface shell along both sides of the surface.
47 ---Purpose: status of an offset face
49 -- Reversed : e.g. Offset > Radius of a cylinder
50 -- Degenerated : e.g. Offset = Radius of a cylinder
51 -- Unknown : e.g. for a Beziersurf
76 ---Purpose: This class compute elemenary offset surface.
77 -- Evaluate the offset generated :
96 class ListOfInterval instantiates
97 List from TCollection (Interval from BRepOffset);
99 class DataMapOfShapeListOfInterval instantiates
100 DataMap from TCollection(Shape from TopoDS,
101 ListOfInterval from BRepOffset,
102 ShapeMapHasher from TopTools );
104 class DataMapOfShapeOffset instantiates
105 DataMap from TCollection(Shape from TopoDS,
106 Offset from BRepOffset,
107 ShapeMapHasher from TopTools );
109 class DataMapOfShapeMapOfShape instantiates
110 DataMap from TCollection(Shape from TopoDS,
111 MapOfShape from TopTools,
112 ShapeMapHasher from TopTools);
115 Surface( Surface : in Surface from Geom;
116 Offset : in Real from Standard;
117 Status : out Status from BRepOffset)
118 ---Purpose: returns the Offset surface computed from the
119 -- surface <Surface> at an OffsetDistance <Offset>.
121 -- If possible, this method returns the real type of
122 -- the surface ( e.g. An Offset of a plane is a plane).
124 -- If no particular case is detected, the returned
125 -- surface will have the Type Geom_OffsetSurface.
126 returns Surface from Geom;