mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-12 11:06:26 +08:00
149 lines
5.0 KiB
Plaintext
Executable File
149 lines
5.0 KiB
Plaintext
Executable File
-- Created on: 1998-01-29
|
|
-- Created by: Laurent BOURESCHE
|
|
-- 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.
|
|
|
|
|
|
deferred class LocalOperation from BRepFilletAPI inherits MakeShape from BRepBuilderAPI
|
|
|
|
---Purpose: Construction of fillets on the edges of a Shell.
|
|
|
|
uses
|
|
|
|
Shape from TopoDS,
|
|
Edge from TopoDS,
|
|
Vertex from TopoDS,
|
|
ListOfShape from TopTools,
|
|
SecHArray1 from ChFiDS
|
|
|
|
is
|
|
|
|
------------------------------------------------------------------
|
|
--- Add d contour
|
|
------------------------------------------------------------------
|
|
|
|
Add(me : in out; E : Edge from TopoDS)
|
|
---Purpose: Adds a contour in the builder (builds a
|
|
-- contour of tangent edges).
|
|
---Level: Public
|
|
is deferred;
|
|
|
|
ResetContour(me : in out;
|
|
IC : Integer from Standard)
|
|
---Purpose: Reset the contour of index IC, there is nomore
|
|
-- information in the contour.
|
|
---Level: Public
|
|
is deferred;
|
|
|
|
NbContours(me)
|
|
---Purpose: Number of contours.
|
|
---Level: Advanced
|
|
returns Integer from Standard is deferred;
|
|
|
|
Contour(me; E : Edge from TopoDS)
|
|
---Purpose: Returns the index of the contour containing the edge
|
|
-- E, returns 0 if E doesn't belong to any contour.
|
|
---Level: Public
|
|
returns Integer from Standard is deferred;
|
|
|
|
NbEdges(me; I : Integer from Standard)
|
|
---Purpose: Number of Edges in the contour I.
|
|
--
|
|
---Level: Advanced
|
|
returns Integer from Standard
|
|
is deferred;
|
|
|
|
Edge(me; I,J : Integer from Standard)
|
|
---Purpose: Returns the Edge J in the contour I.
|
|
--
|
|
---C++: return const &
|
|
---Level: Advanced
|
|
returns Edge from TopoDS
|
|
is deferred;
|
|
|
|
Remove(me : in out; E : Edge from TopoDS)
|
|
---Purpose: remove the contour containing the Edge E.
|
|
---Level: Advanced
|
|
is deferred;
|
|
|
|
Length(me; IC : Integer from Standard) returns Real from Standard
|
|
---Purpose: returns the length the contour of index IC.
|
|
is deferred;
|
|
|
|
FirstVertex(me; IC : Integer from Standard) returns Vertex from TopoDS
|
|
---Purpose: Returns the first Vertex of the contour of index IC.
|
|
---Level: Advanced
|
|
is deferred;
|
|
|
|
LastVertex(me; IC : Integer from Standard) returns Vertex from TopoDS
|
|
---Purpose: Returns the last Vertex of the contour of index IC.
|
|
---Level: Advanced
|
|
is deferred;
|
|
|
|
Abscissa(me;
|
|
IC : Integer from Standard;
|
|
V : Vertex from TopoDS)
|
|
returns Real from Standard
|
|
---Purpose: returns the abscissa of the vertex V on
|
|
-- the contour of index IC.
|
|
is deferred;
|
|
|
|
RelativeAbscissa(me;
|
|
IC : Integer from Standard;
|
|
V : Vertex from TopoDS)
|
|
returns Real from Standard
|
|
---Purpose: returns the relative abscissa([0.,1.]) of the
|
|
-- vertex V on the contour of index IC.
|
|
is deferred;
|
|
|
|
ClosedAndTangent(me; IC : Integer from Standard)
|
|
returns Boolean from Standard
|
|
---Purpose: returns true if the contour of index IC is closed
|
|
-- an tangent.
|
|
is deferred;
|
|
|
|
Closed(me; IC : Integer from Standard)
|
|
returns Boolean from Standard
|
|
---Purpose: returns true if the contour of index IC is closed
|
|
is deferred;
|
|
|
|
Reset(me : in out)
|
|
---Purpose: Reset all the fields updated by Build operation and
|
|
-- leave the algorithm in the same state than before
|
|
-- build call. It allows contours and radius
|
|
-- modifications to build the result another time.
|
|
---Level: Advanced
|
|
is deferred;
|
|
|
|
-------------------------------
|
|
---Methods for quick simulation
|
|
-------------------------------
|
|
|
|
Simulate(me : in out; IC : Integer from Standard)
|
|
is deferred;
|
|
|
|
NbSurf(me; IC : Integer from Standard)
|
|
returns Integer from Standard
|
|
is deferred;
|
|
|
|
Sect(me; IC, IS : Integer from Standard)
|
|
returns mutable SecHArray1 from ChFiDS
|
|
is deferred;
|
|
|
|
end LocalOperation;
|