mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-15 05:28:47 +08:00
0024708: Convertation of the generic classes to the non-generic. Part 2
Generic classes from "AppParCurves" package:
"AppDef_SmoothCriterion", "AppDef_LinearCriteria" and "AppDef_Variational" moved to the corresponding non-generic classes "AppDef_SmoothCriterion", "AppDef_LinearCriteria" and "AppDef_Variational" to "AppDef" package. Also several "*.cxx" files of "AppDef_Variational" class merged to one ".cxx".
Generic class from "IntImp" package:
"IntImp_ZerCOnSSParFunc" moved to the corresponding non-generic class "IntPatch_CSFunction" to "IntPatch" package.
Next unused generic classes were removed:
- IntCurveSurface_SurfaceTool
- Intf_InterferencePolygon3d
And some other minor changes.
This commit is contained in:
89
src/IntPatch/IntPatch_CSFunction.cdl
Normal file
89
src/IntPatch/IntPatch_CSFunction.cdl
Normal file
@@ -0,0 +1,89 @@
|
||||
-- Created on: 1994-02-14
|
||||
-- Created by: Jacques GOUSSARD
|
||||
-- Copyright (c) 1994-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 CSFunction from IntPatch inherits FunctionSetWithDerivatives from math
|
||||
|
||||
---Purpose: this function is associated to the intersection between
|
||||
-- a curve on surface and a surface .
|
||||
|
||||
|
||||
uses Vector from math,
|
||||
Matrix from math,
|
||||
Pnt from gp,
|
||||
HSurface from Adaptor3d,
|
||||
HSurfaceTool from Adaptor3d,
|
||||
HCurve2d from Adaptor2d,
|
||||
HCurve2dTool from IntPatch
|
||||
|
||||
is
|
||||
Create( S1 : HSurface from Adaptor3d;
|
||||
C : HCurve2d from Adaptor2d;
|
||||
S2 : HSurface from Adaptor3d )
|
||||
|
||||
---Purpose: S1 is the surface on which the intersection is searched.
|
||||
-- C is a curve on the surface S2.
|
||||
|
||||
returns CSFunction from IntPatch;
|
||||
|
||||
|
||||
NbVariables(me) returns Integer from Standard
|
||||
is static;
|
||||
|
||||
NbEquations(me) returns Integer from Standard
|
||||
is static;
|
||||
|
||||
Value(me : in out; X : in Vector from math;
|
||||
F : out Vector from math)
|
||||
returns Boolean from Standard
|
||||
is static;
|
||||
|
||||
Derivatives(me : in out;X : in Vector from math;
|
||||
D : out Matrix from math)
|
||||
returns Boolean from Standard
|
||||
is static;
|
||||
|
||||
Values(me : in out;
|
||||
X : in Vector from math;
|
||||
F : out Vector from math; D: out Matrix from math)
|
||||
returns Boolean from Standard
|
||||
is static;
|
||||
|
||||
Point(me)
|
||||
---C++: return const&
|
||||
returns Pnt from gp
|
||||
is static;
|
||||
|
||||
Root(me) returns Real from Standard
|
||||
is static;
|
||||
|
||||
AuxillarSurface(me)
|
||||
---C++: return const&
|
||||
returns HSurface from Adaptor3d
|
||||
is static;
|
||||
|
||||
AuxillarCurve(me)
|
||||
---C++: return const&
|
||||
returns HCurve2d from Adaptor2d
|
||||
is static;
|
||||
|
||||
fields
|
||||
curve : Address from Standard; --- HCurve2d from Adaptor2d;
|
||||
surface1 : Address from Standard; --- HSurface from Adaptor3d;
|
||||
surface2 : Address from Standard; --- HSurface from Adaptor3d;
|
||||
p : Pnt from gp;
|
||||
f : Real from Standard;
|
||||
|
||||
end CSFunction;
|
||||
Reference in New Issue
Block a user