Files
OCCT/src/ShapeUpgrade/ShapeUpgrade_EdgeDivide.cdl
bugmaster b311480ed5 0023024: Update headers of OCCT files
Added appropriate copyright and license information in source files
2012-03-21 19:43:04 +04:00

87 lines
2.9 KiB
Plaintext
Executable File

-- Created on: 2000-05-24
-- Created by: data exchange team
-- Copyright (c) 2000-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 EdgeDivide from ShapeUpgrade inherits Tool from ShapeUpgrade
---Purpose:
uses
Edge from TopoDS,
Face from TopoDS,
HSequenceOfReal from TColStd,
SplitCurve3d from ShapeUpgrade,
SplitCurve2d from ShapeUpgrade
is
Create returns mutable EdgeDivide from ShapeUpgrade;
---Purpose: Empty constructor
Clear (me: mutable);
SetFace(me: mutable; F: Face from TopoDS);
---C++: inline
---Purpose: Sets supporting surface by face
Compute(me: mutable; E: Edge from TopoDS)
returns Boolean is virtual;
HasCurve2d(me) returns Boolean;
---C++: inline
HasCurve3d(me) returns Boolean;
---C++: inline
Knots2d(me) returns HSequenceOfReal from TColStd;
---C++: inline
Knots3d(me) returns HSequenceOfReal from TColStd;
---C++: inline
SetSplitCurve2dTool(me: mutable; splitCurve2dTool: SplitCurve2d from ShapeUpgrade);
---Purpose: Sets the tool for splitting pcurves.
SetSplitCurve3dTool(me: mutable; splitCurve3dTool: SplitCurve3d from ShapeUpgrade);
---Purpose: Sets the tool for splitting 3D curves.
GetSplitCurve2dTool(me) returns SplitCurve2d from ShapeUpgrade
is virtual;
---Purpose: Returns the tool for splitting pcurves.
GetSplitCurve3dTool(me) returns SplitCurve3d from ShapeUpgrade
is virtual;
---Purpose: Returns the tool for splitting 3D curves.
---Remark: here TopoDS_Edge can be used to transfer some specific information (tolerance, etc)
fields
myFace : Face from TopoDS is protected;
myHasCurve2d: Boolean is protected;
myHasCurve3d: Boolean is protected;
myKnots2d : HSequenceOfReal from TColStd is protected;
myKnots3d : HSequenceOfReal from TColStd is protected;
mySplitCurve3dTool: SplitCurve3d from ShapeUpgrade;
mySplitCurve2dTool: SplitCurve2d from ShapeUpgrade;
end EdgeDivide;