mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 01:58:22 +08:00
131 lines
4.2 KiB
Plaintext
Executable File
131 lines
4.2 KiB
Plaintext
Executable File
-- Created on: 1993-06-23
|
|
-- Created by: Didier PIFFAULT
|
|
-- 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.
|
|
|
|
|
|
|
|
class Tool from Intf
|
|
|
|
---Purpose: Provides services to create box for infinites
|
|
-- lines in a given contexte.
|
|
|
|
uses Integer from Standard,
|
|
Real from Standard,
|
|
Box2d from Bnd,
|
|
Lin2d from gp,
|
|
Hypr2d from gp,
|
|
Parab2d from gp,
|
|
Conic from IntAna2d,
|
|
Box from Bnd,
|
|
Lin from gp,
|
|
Hypr from gp,
|
|
Parab from gp
|
|
|
|
|
|
raises OutOfRange from Standard
|
|
|
|
|
|
is Create returns Tool from Intf;
|
|
|
|
Lin2dBox (me : in out;
|
|
theLin2d : in Lin2d from gp;
|
|
bounding : in Box2d from Bnd;
|
|
boxLin : out Box2d from Bnd)
|
|
is static;
|
|
|
|
Hypr2dBox (me : in out;
|
|
theHypr2d : in Hypr2d from gp;
|
|
bounding : in Box2d from Bnd;
|
|
boxHypr : out Box2d from Bnd)
|
|
is static;
|
|
|
|
Inters2d (me : in out;
|
|
theCurve : in Hypr2d from gp;
|
|
Domain : in Box2d from Bnd)
|
|
returns Integer from Standard is static private;
|
|
|
|
Parab2dBox (me : in out;
|
|
theParab2d : in Parab2d from gp;
|
|
bounding : in Box2d from Bnd;
|
|
boxHypr : out Box2d from Bnd)
|
|
is static;
|
|
|
|
Inters2d (me : in out;
|
|
theCurve : in Parab2d from gp;
|
|
Domain : in Box2d from Bnd)
|
|
returns Integer from Standard is static private;
|
|
|
|
|
|
LinBox (me : in out;
|
|
theLin : in Lin from gp;
|
|
bounding : in Box from Bnd;
|
|
boxLin : out Box from Bnd)
|
|
is static;
|
|
|
|
HyprBox (me : in out;
|
|
theHypr : in Hypr from gp;
|
|
bounding : in Box from Bnd;
|
|
boxHypr : out Box from Bnd)
|
|
is static;
|
|
|
|
Inters3d (me : in out;
|
|
theCurve : in Hypr from gp;
|
|
Domain : in Box from Bnd)
|
|
returns Integer from Standard is static private;
|
|
|
|
ParabBox (me : in out;
|
|
theParab : in Parab from gp;
|
|
bounding : in Box from Bnd;
|
|
boxHypr : out Box from Bnd)
|
|
is static;
|
|
|
|
Inters3d (me : in out;
|
|
theCurve : in Parab from gp;
|
|
Domain : in Box from Bnd)
|
|
returns Integer from Standard is static private;
|
|
|
|
|
|
NbSegments (me)
|
|
returns Integer from Standard
|
|
is static;
|
|
|
|
BeginParam (me;
|
|
SegmentNum : Integer from Standard)
|
|
returns Real from Standard
|
|
raises OutOfRange from Standard
|
|
is static;
|
|
|
|
EndParam (me;
|
|
SegmentNum : Integer from Standard)
|
|
returns Real from Standard
|
|
raises OutOfRange from Standard
|
|
is static;
|
|
|
|
|
|
fields nbSeg : Integer from Standard;
|
|
beginOnCurve : Real from Standard [6];
|
|
endOnCurve : Real from Standard [6];
|
|
bord : Integer from Standard [12];
|
|
xint : Real from Standard [12];
|
|
yint : Real from Standard [12];
|
|
zint : Real from Standard [12];
|
|
parint : Real from Standard [12];
|
|
|
|
end Tool;
|