mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-12 11:06:26 +08:00
93 lines
3.2 KiB
Plaintext
Executable File
93 lines
3.2 KiB
Plaintext
Executable File
-- Created on: 1993-03-17
|
|
-- Created by: Laurent BUCHARD
|
|
-- Copyright (c) 1993-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.
|
|
|
|
|
|
generic class PrmPrmSvSurfaces from ApproxInt (
|
|
ThePSurface as any;
|
|
ThePSurfaceTool as any;
|
|
TheLine as Transient)
|
|
|
|
inherits SvSurfaces from ApproxInt
|
|
|
|
uses
|
|
Pnt from gp,
|
|
Pnt2d from gp,
|
|
Vec from gp,
|
|
Vec2d from gp
|
|
|
|
class TheInt2S instantiates Int2S from IntImp(
|
|
ThePSurface,ThePSurfaceTool);
|
|
|
|
is
|
|
Create(Surf1,Surf2: ThePSurface);
|
|
|
|
Compute(me: in out;
|
|
u1,v1,u2,v2: in out Real from Standard;
|
|
Pt: out Pnt from gp;
|
|
Tg: out Vec from gp;
|
|
Tguv1,Tguv2: out Vec2d from gp)
|
|
---Purpose: returns True if Tg,Tguv1 Tguv2 can be computed.
|
|
returns Boolean from Standard is static;
|
|
|
|
Pnt(me: in out;
|
|
u1,v1,u2,v2: in Real from Standard;
|
|
P: out Pnt from gp) is static;
|
|
|
|
Tangency(me: in out;
|
|
u1,v1,u2,v2: in Real from Standard;
|
|
Tg: out Vec from gp)
|
|
returns Boolean from Standard is static;
|
|
|
|
TangencyOnSurf1(me: in out;
|
|
u1,v1,u2,v2: in Real from Standard;
|
|
Tg: out Vec2d from gp)
|
|
returns Boolean from Standard is static;
|
|
|
|
TangencyOnSurf2(me: in out;
|
|
u1,v1,u2,v2: in Real from Standard;
|
|
Tg: out Vec2d from gp)
|
|
returns Boolean from Standard is static;
|
|
|
|
fields
|
|
MyParOnS1 : Pnt2d from gp;
|
|
MyParOnS2 : Pnt2d from gp;
|
|
MyPnt : Pnt from gp;
|
|
MyTguv1 : Vec2d from gp;
|
|
MyTguv2 : Vec2d from gp;
|
|
MyTg : Vec from gp;
|
|
MyIsTangent : Boolean from Standard;
|
|
MyHasBeenComputed : Boolean from Standard;
|
|
|
|
MyParOnS1bis : Pnt2d from gp;
|
|
MyParOnS2bis : Pnt2d from gp;
|
|
MyPntbis : Pnt from gp;
|
|
MyTguv1bis : Vec2d from gp;
|
|
MyTguv2bis : Vec2d from gp;
|
|
MyTgbis : Vec from gp;
|
|
MyIsTangentbis : Boolean from Standard;
|
|
MyHasBeenComputedbis : Boolean from Standard;
|
|
|
|
MyIntersectionOn2S : TheInt2S;
|
|
|
|
end PrmPrmSvSurfaces;
|
|
|
|
|
|
|