mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
Redundant keyword 'mutable' removed in CDL files. In IGESConvGeom_GeomBuilder, unused methods MakeXY() and MakeXYZ() removed. Method StepAP214_AutoDesignGroupAssignment::Init() replicating same method of the base class is removed as it causes CDL extraction error after above (seemingly irrelevant) changes.
240 lines
6.2 KiB
Plaintext
240 lines
6.2 KiB
Plaintext
-- Created on: 1994-04-01
|
|
-- Created by: Modelistation
|
|
-- 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 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 TopolTool from BRepTopAdaptor;
|
|
|
|
|
|
Create(Surface: HSurface from Adaptor3d)
|
|
|
|
returns 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 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 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;
|