mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-18 17:06:14 +08:00
In scope of this issue next unused generic classes will be removed: 1) AppBlend_Line 2) AppBlend_SectionGenerator 3) AppCont_SurfLeastSquare 4) AppCont_TheLineTool 5) AppCont_TheSurfTool 6) AppParCurves_MLineToo 7) AppParCurves_Projection 8) ApproxInt_WLine 9) Approx_ComputeCSurface 10) Approx_TheLineTool 11) Blend_Iterator 12) Contap_ArcTool 13) Contap_SurfaceTool 14) Contap_TopolTool 15) Dynamic_EnumerationParameter 16) Dynamic_MethodInstance 17) Extrema_ExtPSOfRev 18) GProp_CurveTool 19) GProp_DomainTool 20) GProp_FaceTool
278 lines
6.3 KiB
Plaintext
278 lines
6.3 KiB
Plaintext
-- Created on: 1993-02-05
|
|
-- Created by: Jacques GOUSSARD
|
|
-- 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.
|
|
|
|
generic class ContourGen from Contap
|
|
(TheVertex as any;
|
|
TheArc as any;
|
|
TheSurface as any;
|
|
TheArcTool as any;
|
|
TheSurfaceTool as any;
|
|
TheContTool as any; -- as ContTool from Contap(TheVertex,TheArc,
|
|
-- TheSurface)
|
|
TheTopolTool as Transient)
|
|
|
|
|
|
uses PathPoint from IntSurf,
|
|
PathPointTool from IntSurf,
|
|
SequenceOfPathPoint from IntSurf,
|
|
InteriorPoint from IntSurf,
|
|
InteriorPointTool from IntSurf,
|
|
SequenceOfInteriorPoint from IntSurf,
|
|
Pnt from gp,
|
|
Vec from gp
|
|
|
|
|
|
raises NotDone from StdFail,
|
|
OutOfRange from Standard,
|
|
ConstructionError from Standard
|
|
|
|
class ThePoint instantiates Point from Contap
|
|
(TheVertex,
|
|
TheArc);
|
|
|
|
class TheSequenceOfPoint instantiates Sequence from TCollection
|
|
(ThePoint);
|
|
|
|
class TheHSequenceOfPoint instantiates HSequence from TCollection
|
|
(ThePoint,TheSequenceOfPoint);
|
|
|
|
|
|
class TheLine instantiates Line from Contap
|
|
(TheVertex,
|
|
TheArc,
|
|
ThePoint,
|
|
TheHSequenceOfPoint);
|
|
|
|
|
|
class TheSequenceOfLine instantiates Sequence from TCollection
|
|
(TheLine);
|
|
|
|
|
|
class TheSurfProps instantiates SurfProps from Contap
|
|
(TheSurface,
|
|
TheSurfaceTool);
|
|
|
|
|
|
class TheSurfFunction instantiates SurfFunction from Contap
|
|
(TheSurface,
|
|
TheSurfaceTool,
|
|
TheSurfProps from Contap,
|
|
TheContTool);
|
|
|
|
class TheArcFunction instantiates ArcFunction from Contap
|
|
(TheArc,
|
|
TheSurface,
|
|
TheArcTool,
|
|
TheSurfaceTool,
|
|
TheSurfProps from Contap,
|
|
TheContTool);
|
|
|
|
|
|
class TheSearch instantiates SearchOnBoundaries from IntStart
|
|
(TheVertex,
|
|
TheArc,
|
|
TheArcTool,
|
|
TheContTool,
|
|
TheTopolTool,
|
|
TheArcFunction from Contap);
|
|
|
|
|
|
class TheIWalking instantiates IWalking from IntWalk
|
|
(PathPoint from IntSurf,
|
|
PathPointTool from IntSurf,
|
|
SequenceOfPathPoint from IntSurf,
|
|
InteriorPoint from IntSurf,
|
|
InteriorPointTool from IntSurf,
|
|
SequenceOfInteriorPoint from IntSurf,
|
|
TheSurface,
|
|
TheSurfaceTool,
|
|
TheSurfFunction from Contap);
|
|
|
|
|
|
class TheSearchInside instantiates SearchInside from IntStart
|
|
(TheSurface,
|
|
TheSurfaceTool,
|
|
TheTopolTool,
|
|
TheContTool,
|
|
TheSurfFunction from Contap);
|
|
|
|
is
|
|
|
|
Create
|
|
|
|
returns ContourGen from Contap;
|
|
|
|
|
|
Create(Direction: Vec from gp)
|
|
|
|
returns ContourGen from Contap;
|
|
|
|
|
|
Create(Direction: Vec from gp; Angle: Real from Standard)
|
|
|
|
returns ContourGen from Contap;
|
|
|
|
|
|
Create(Eye: Pnt from gp)
|
|
|
|
returns ContourGen from Contap;
|
|
|
|
|
|
Create(Surf: TheSurface; Domain: TheTopolTool;
|
|
Direction: Vec from gp)
|
|
|
|
---Purpose: Creates the contour in a given direction.
|
|
|
|
returns ContourGen from Contap;
|
|
|
|
|
|
Create(Surf: TheSurface; Domain: TheTopolTool;
|
|
Direction: Vec from gp; Angle: Real from Standard)
|
|
|
|
---Purpose: Creates the contour in a given direction.
|
|
|
|
returns ContourGen from Contap;
|
|
|
|
|
|
Create(Surf: TheSurface; Domain: TheTopolTool;
|
|
Eye: Pnt from gp)
|
|
|
|
---Purpose: Creates the contour for a perspective view.
|
|
|
|
returns ContourGen from Contap;
|
|
|
|
|
|
Perform(me: in out; Surf: TheSurface; Domain: TheTopolTool)
|
|
|
|
---Purpose: Creates the contour in a given direction.
|
|
|
|
raises ConstructionError from Standard
|
|
is static;
|
|
|
|
|
|
Perform(me: in out; Surf: TheSurface; Domain: TheTopolTool;
|
|
Direction: Vec from gp)
|
|
|
|
---Purpose: Creates the contour in a given direction.
|
|
|
|
is static;
|
|
|
|
|
|
Perform(me: in out; Surf: TheSurface; Domain: TheTopolTool;
|
|
Direction: Vec from gp; Angle: Real from Standard)
|
|
|
|
---Purpose: Creates the contour in a given direction.
|
|
|
|
is static;
|
|
|
|
|
|
Perform(me: in out; Surf: TheSurface; Domain: TheTopolTool;
|
|
Eye: Pnt from gp)
|
|
|
|
---Purpose: Creates the contour for a perspective view.
|
|
|
|
is static;
|
|
|
|
|
|
Init(me: in out; Direction: Vec from gp)
|
|
|
|
is static;
|
|
|
|
|
|
Init(me: in out; Direction: Vec from gp; Angle: Real from Standard)
|
|
|
|
is static;
|
|
|
|
|
|
Init(me: in out; Eye: Pnt from gp)
|
|
|
|
is static;
|
|
|
|
|
|
IsDone(me)
|
|
|
|
returns Boolean from Standard
|
|
---C++: inline
|
|
|
|
is static;
|
|
|
|
|
|
IsEmpty(me)
|
|
|
|
---Purpose: Returns true if the is no line.
|
|
|
|
returns Boolean from Standard
|
|
---C++: inline
|
|
|
|
raises NotDone from StdFail
|
|
|
|
is static;
|
|
|
|
|
|
NbLines(me)
|
|
|
|
returns Integer from Standard
|
|
---C++: inline
|
|
|
|
raises NotDone from StdFail
|
|
|
|
is static;
|
|
|
|
|
|
Line(me; Index: Integer from Standard)
|
|
|
|
returns TheLine from Contap
|
|
---C++: return const&
|
|
---C++: inline
|
|
|
|
raises NotDone from StdFail,
|
|
OutOfRange from Standard
|
|
|
|
is static;
|
|
|
|
|
|
SurfaceFunction(me : in out)
|
|
returns TheSurfFunction
|
|
---Purpose: Returns a reference on the internal
|
|
-- SurfaceFunction. This is used to compute tangents
|
|
-- on the lines.
|
|
---C++: return &
|
|
---C++: inline
|
|
is static;
|
|
|
|
|
|
Perform(me: in out; Domain: TheTopolTool)
|
|
|
|
is static private;
|
|
|
|
|
|
PerformAna(me: in out; Domain: TheTopolTool)
|
|
|
|
is static private;
|
|
|
|
|
|
fields
|
|
|
|
done : Boolean from Standard;
|
|
slin : TheSequenceOfLine from Contap;
|
|
solrst : TheSearch from Contap;
|
|
solins : TheSearchInside from Contap;
|
|
mySFunc : TheSurfFunction from Contap;
|
|
myAFunc : TheArcFunction from Contap;
|
|
modeset : Boolean from Standard;
|
|
|
|
end ContourGen;
|