mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-06-20 11:54:07 +03:00
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.
90 lines
2.6 KiB
Plaintext
90 lines
2.6 KiB
Plaintext
-- 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;
|