mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-07-30 13:05:50 +03:00
License statement text corrected; compiler warnings caused by Bison 2.41 disabled for MSVC; a few other compiler warnings on 54-bit Windows eliminated by appropriate type cast Wrong license statements corrected in several files. Copyright and license statements added in XSD and GLSL files. Copyright year updated in some files. Obsolete documentation files removed from DrawResources.
81 lines
3.3 KiB
Plaintext
81 lines
3.3 KiB
Plaintext
-- Created on: 1993-12-23
|
|
-- Created by: Isabelle GRIGNON
|
|
-- Copyright (c) 1993-1999 Matra Datavision
|
|
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
|
--
|
|
-- This file is part of Open CASCADE Technology software library.
|
|
--
|
|
-- This library is free software; you can redistribute it and/or modify it under
|
|
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
|
-- by the Free Software Foundation, with special exception defined in the file
|
|
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
|
-- distribution for complete text of the license and disclaimer of any warranty.
|
|
--
|
|
-- Alternatively, this file may be used under the terms of Open CASCADE
|
|
-- commercial license or contractual agreement.
|
|
|
|
class ComputeData from ChFiKPart
|
|
|
|
---Purpose: Methodes de classe permettant de remplir une
|
|
-- SurfData dans les cas particuliers de conges
|
|
-- suivants:
|
|
-- - cylindre entre 2 surfaces planes,
|
|
-- - tore/sphere entre un plan et un cylindre othogonal,
|
|
-- - tore/sphere entre un plan et un cone othogonal,
|
|
--
|
|
-- - tore entre un plan et une droite orthogonale (rotule).
|
|
|
|
uses
|
|
Orientation from TopAbs,
|
|
Pnt2d from gp,
|
|
HSurface from Adaptor3d,
|
|
Spine from ChFiDS,
|
|
SurfData from ChFiDS,
|
|
DataStructure from TopOpeBRepDS
|
|
is
|
|
|
|
Compute(myclass;
|
|
DStr : in out DataStructure from TopOpeBRepDS;
|
|
Data : in out SurfData from ChFiDS;
|
|
S1,S2 : HSurface from Adaptor3d;
|
|
Or1,Or2 : Orientation from TopAbs;
|
|
Sp : Spine from ChFiDS;
|
|
Iedge : Integer from Standard)
|
|
---Purpose: Computes a simple fillet in several particular
|
|
-- cases.
|
|
returns Boolean from Standard;
|
|
|
|
ComputeCorner(myclass;
|
|
DStr : in out DataStructure from TopOpeBRepDS;
|
|
Data : SurfData from ChFiDS;
|
|
S1,S2 : HSurface from Adaptor3d;
|
|
OrFace1,OrFace2,Or1,Or2 : Orientation from TopAbs;
|
|
minRad,majRad : Real from Standard;
|
|
P1S1,P2S1,P1S2,P2S2 : Pnt2d from gp)
|
|
---Purpose: Computes a toric or spheric corner fillet.
|
|
returns Boolean from Standard;
|
|
|
|
|
|
ComputeCorner(myclass;
|
|
DStr : in out DataStructure from TopOpeBRepDS;
|
|
Data : SurfData from ChFiDS;
|
|
S1,S2 : HSurface from Adaptor3d;
|
|
OrFace1,OrFace2,Or1,Or2 : Orientation from TopAbs;
|
|
Rad : Real from Standard;
|
|
PS1,P1S2,P2S2 : Pnt2d from gp)
|
|
---Purpose: Computes spheric corner fillet with non iso pcurve on S2.
|
|
returns Boolean from Standard;
|
|
|
|
|
|
ComputeCorner(myclass;
|
|
DStr : in out DataStructure from TopOpeBRepDS;
|
|
Data : SurfData from ChFiDS;
|
|
S,S1,S2 : HSurface from Adaptor3d;
|
|
OfS,OS,OS1,OS2 : Orientation from TopAbs;
|
|
Radius : Real from Standard)
|
|
---Purpose: Computes a toric corner rotule.
|
|
returns Boolean from Standard;
|
|
|
|
end ComputeData;
|
|
|