-- Created on: 1998-06-03 -- Created by: data exchange team -- Copyright (c) 1998-1999 Matra Datavision -- Copyright (c) 1999-2012 OPEN CASCADE SAS -- -- The content of this file is subject to the Open CASCADE Technology Public -- License Version 6.5 (the "License"). You may not use the content of this file -- except in compliance with the License. Please obtain a copy of the License -- at http://www.opencascade.org and read it completely before using this file. -- -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. -- -- The Original Code and all software distributed under the License is -- distributed on an "AS IS" basis, without warranty of any kind, and the -- Initial Developer hereby disclaims all such warranties, including without -- limitation, any warranties of merchantability, fitness for a particular -- purpose or non-infringement. Please see the License for the specific terms -- and conditions governing the rights and limitations under the License. class DirectModification from ShapeCustom inherits Modification from BRepTools ---Purpose: implements a modification for the BRepTools -- Modifier algortihm. Will redress indirect -- surfaces. uses Vertex from TopoDS, Edge from TopoDS, Face from TopoDS, Location from TopLoc, Shape from GeomAbs, Pnt from gp, Curve from Geom, Curve from Geom2d, Surface from Geom is Create returns mutable DirectModification from ShapeCustom; NewSurface(me: mutable; F : Face from TopoDS; S : out Surface from Geom; L : out Location from TopLoc; Tol: out Real from Standard; RevWires : out Boolean from Standard; RevFace : out Boolean from Standard) returns Boolean from Standard; ---Purpose: Returns Standard_True if the face has been -- modified. In this case, is the new geometric -- support of the face, the new location, -- the new tolerance. Otherwise, returns -- Standard_False, and , , are not -- significant. NewCurve(me: mutable; E : Edge from TopoDS; C : out Curve from Geom; L : out Location from TopLoc; Tol: out Real from Standard) returns Boolean from Standard; ---Purpose: Returns Standard_True if the edge has been -- modified. In this case, is the new geometric -- support of the edge, the new location, -- the new tolerance. Otherwise, returns -- Standard_False, and , , are not -- significant. NewPoint(me: mutable; V : Vertex from TopoDS; P : out Pnt from gp; Tol: out Real from Standard) returns Boolean from Standard; ---Purpose: Returns Standard_True if the vertex has been -- modified. In this case,

is the new geometric -- support of the vertex, the new tolerance. -- Otherwise, returns Standard_False, and

, -- are not significant. NewCurve2d(me: mutable; E : Edge from TopoDS; F : Face from TopoDS; NewE : Edge from TopoDS; NewF : Face from TopoDS; C : out Curve from Geom2d; Tol : out Real from Standard) returns Boolean from Standard; ---Purpose: Returns Standard_True if the edge has a new -- curve on surface on the face .In this case, -- is the new geometric support of the edge, the -- new location, the new tolerance. -- -- Otherwise, returns Standard_False, and , , -- are not significant. -- -- is the new edge created from . -- is the new face created from . They may be usefull. NewParameter(me: mutable; V : Vertex from TopoDS; E : Edge from TopoDS; P : out Real from Standard; Tol: out Real from Standard) returns Boolean from Standard; ---Purpose: Returns Standard_True if the Vertex has a new -- parameter on the edge . In this case,

is -- the parameter, the new tolerance. -- Otherwise, returns Standard_False, and

, -- are not significant. Continuity(me: mutable; E : Edge from TopoDS; F1,F2 : Face from TopoDS; NewE : Edge from TopoDS; NewF1,NewF2: Face from TopoDS) returns Shape from GeomAbs; ---Purpose: Returns the continuity of between -- and . -- -- is the new edge created from . -- (resp. ) is the new face created from -- (resp. ). end DirectModification;