1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-26 11:05:31 +03:00
occt/src/BRepTopAdaptor/BRepTopAdaptor_TopolTool.cdl
bugmaster b311480ed5 0023024: Update headers of OCCT files
Added appropriate copyright and license information in source files
2012-03-21 19:43:04 +04:00

246 lines
6.6 KiB
Plaintext
Executable File

-- Created on: 1994-04-01
-- Created by: Modelistation
-- Copyright (c) 1994-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 TopolTool from BRepTopAdaptor
inherits TopolTool from Adaptor3d
uses HSurface from Adaptor3d,
HCurve2d from Adaptor2d,
HCurve2d from BRepAdaptor,
HVertex from Adaptor3d,
Pnt2d from gp,
Pnt from gp,
State from TopAbs,
Orientation from TopAbs,
Explorer from TopExp,
Face from TopoDS,
FClass2d from BRepTopAdaptor,
ListOfTransient from TColStd,
ListIteratorOfListOfTransient from TColStd
raises DomainError from Standard
is
Create
returns mutable TopolTool from BRepTopAdaptor;
Create(Surface: HSurface from Adaptor3d)
returns mutable TopolTool from BRepTopAdaptor;
Initialize(me: mutable)
is redefined;
Initialize(me: mutable; S: HSurface from Adaptor3d)
is redefined;
Initialize(me: mutable; Curve: HCurve2d from Adaptor2d)
is redefined;
--- Arc iterator
Init(me: mutable)
is redefined;
More(me: mutable)
returns Boolean from Standard
is redefined;
Value(me: mutable)
returns mutable HCurve2d from Adaptor2d
raises DomainError from Standard
is redefined;
Next(me: mutable)
is redefined;
--modified by NIZNHY-PKV Wed Mar 21 11:37:11 2001 f
Edge (me)
returns Address from Standard
is redefined;
--modified by NIZNHY-PKV Wed Mar 21 11:37:17 2001 t
--- Vertex iterator
InitVertexIterator(me: mutable)
is redefined;
MoreVertex(me: mutable)
returns Boolean from Standard
is redefined;
Vertex(me: mutable)
returns mutable HVertex from Adaptor3d
raises DomainError from Standard
is redefined;
NextVertex(me: mutable)
is redefined;
Classify(me: mutable; P2d: Pnt2d from gp;
Tol: Real from Standard;
RecadreOnPeriodic : Boolean from Standard = Standard_True)
returns State from TopAbs
is redefined;
IsThePointOn(me: mutable; P2d: Pnt2d from gp;
Tol: Real from Standard;
RecadreOnPeriodic : Boolean from Standard = Standard_True)
---Purpose (caution: see the code for specifications)
returns Boolean from Standard
is redefined;
Orientation(me: mutable; C: HCurve2d from Adaptor2d)
---Purpose: If the function returns the orientation of the arc.
-- If the orientation is FORWARD or REVERSED, the arc is
-- a "real" limit of the surface.
-- If the orientation is INTERNAL or EXTERNAL, the arc is
-- considered as an arc on the surface.
returns Orientation from TopAbs
is redefined;
Orientation(me: mutable; C: HVertex from Adaptor3d)
---Purpose: If the function returns the orientation of the arc.
-- If the orientation is FORWARD or REVERSED, the arc is
-- a "real" limit of the surface.
-- If the orientation is INTERNAL or EXTERNAL, the arc is
-- considered as an arc on the surface.
returns Orientation from TopAbs
is redefined;
Destroy(me: mutable);
---C++: alias ~
Has3d(me)
---Purpose: answers if arcs and vertices may have 3d representations,
-- so that we could use Tol3d and Pnt methods.
returns Boolean from Standard
is redefined;
Tol3d(me; C: HCurve2d from Adaptor2d)
---Purpose: returns 3d tolerance of the arc C
returns Real from Standard
raises DomainError from Standard
is redefined;
Tol3d(me; V: HVertex from Adaptor3d)
---Purpose: returns 3d tolerance of the vertex V
returns Real from Standard
raises DomainError from Standard
is redefined;
Pnt(me; V: HVertex from Adaptor3d)
---Purpose: returns 3d point of the vertex V
returns Pnt from gp
raises DomainError from Standard
is redefined;
--- samples tools
ComputeSamplePoints(me: mutable)
is redefined;
NbSamplesU(me: mutable)
---Purpose: compute the sample-points for the intersections algorithms
returns Integer from Standard
is redefined;
NbSamplesV(me: mutable)
---Purpose: compute the sample-points for the intersections algorithms
returns Integer from Standard
is redefined;
NbSamples(me: mutable)
---Purpose: compute the sample-points for the intersections algorithms
returns Integer from Standard
is redefined;
SamplePoint(me: mutable; Index: Integer from Standard;
P2d : out Pnt2d from gp;
P3d : out Pnt from gp)
is redefined;
DomainIsInfinite(me: mutable)
returns Boolean from Standard
is redefined;
fields -- redefined from TopolTool from Adaptor3d
myVIterator : Explorer from TopExp;
myFace : Face from TopoDS;
myFClass2d : Address from Standard;
myCurve : HCurve2d from BRepAdaptor;
-- MSV: replace myEIterator by myCIterator to return the same HCurve2d
-- for the same edge each time the user calls Value()
myCurves : ListOfTransient from TColStd;
myCIterator : ListIteratorOfListOfTransient from TColStd;
--myS : HSurface from Adaptor3d; now inherits myS from Adaptor3d_TopolTool
myU0 : Real from Standard;
myV0 : Real from Standard;
myDU : Real from Standard;
myDV : Real from Standard;
--myNbSamplesU: Integer from Standard; now inherits myS from Adaptor3d_TopolTool
--myNbSamplesV: Integer from Standard; now inherits myS from Adaptor3d_TopolTool
end TopolTool;