mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-08 18:40:55 +03:00
License statement text corrected; compiler warnings caused by Bison 2.41 disabled for MSVC; a few other compiler warnings on 54-bit Windows eliminated by appropriate type cast Wrong license statements corrected in several files. Copyright and license statements added in XSD and GLSL files. Copyright year updated in some files. Obsolete documentation files removed from DrawResources.
175 lines
4.6 KiB
Plaintext
175 lines
4.6 KiB
Plaintext
-- Created on: 1993-09-30
|
|
-- Created by: Isabelle GRIGNON
|
|
-- 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.
|
|
|
|
class ShapeTool from BRepMesh
|
|
|
|
---Purpose:
|
|
|
|
uses Shape from TopoDS,
|
|
Face from TopoDS,
|
|
Edge from TopoDS,
|
|
Vertex from TopoDS,
|
|
Explorer from TopExp,
|
|
Pnt2d from gp,
|
|
Pnt from gp,
|
|
Box from Bnd,
|
|
Curve from BRepAdaptor,
|
|
Orientation from TopAbs,
|
|
Triangulation from Poly,
|
|
HArray1OfInteger from TColStd
|
|
|
|
raises NoSuchObject from Standard
|
|
|
|
is
|
|
Create returns ShapeTool ;
|
|
|
|
Init(me : in out ; S : Shape from TopoDS)
|
|
---C++: inline
|
|
is static;
|
|
|
|
MoreFace(me: in out ) returns Boolean from Standard
|
|
---C++: inline
|
|
is static;
|
|
|
|
NextFace(me : in out)
|
|
---C++: inline
|
|
is static;
|
|
|
|
CurrentFace( me : in out) returns Face from TopoDS
|
|
---C++:return const &
|
|
---C++: inline
|
|
is static;
|
|
|
|
Init(me : in out ; F: Face from TopoDS)
|
|
---C++: inline
|
|
is static;
|
|
|
|
MoreEdge(me: in out ) returns Boolean from Standard
|
|
---C++: inline
|
|
is static;
|
|
|
|
NextEdge(me : in out)
|
|
---C++: inline
|
|
is static;
|
|
|
|
CurrentEdge(me : in out)
|
|
---C++: return const &
|
|
---C++: inline
|
|
returns Edge from TopoDS
|
|
is static;
|
|
|
|
Init(me : in out ; E : Edge from TopoDS)
|
|
---C++: inline
|
|
is static;
|
|
|
|
MoreInternalVertex(me: in out ) returns Boolean from Standard
|
|
|
|
is static;
|
|
|
|
NextInternalVertex(me : in out)
|
|
---C++: inline
|
|
is static;
|
|
|
|
CurrentInternalVertex( me : in out) returns Vertex from TopoDS
|
|
---C++: return const &
|
|
---C++: inline
|
|
is static;
|
|
|
|
Orientation(myclass; F :Face from TopoDS )
|
|
---C++: inline
|
|
returns Orientation from TopAbs;
|
|
|
|
Orientation(myclass; E : Edge from TopoDS )
|
|
---C++: inline
|
|
returns Orientation from TopAbs;
|
|
|
|
Bound(myclass; F :Face from TopoDS )
|
|
returns Box from Bnd;
|
|
|
|
Bound(myclass; E : Edge from TopoDS )
|
|
returns Box from Bnd;
|
|
|
|
FirstVertex(myclass; E : Edge from TopoDS )
|
|
returns Vertex from TopoDS
|
|
raises NoSuchObject;
|
|
--if there is not first vertex (semi-infinite edge)
|
|
|
|
LastVertex(myclass; E : Edge from TopoDS)
|
|
returns Vertex from TopoDS
|
|
raises NoSuchObject;
|
|
--if there is not last vertex (semi-infinite edge)
|
|
|
|
Vertices(myclass; E : Edge from TopoDS;
|
|
Vfirst, Vlast : out Vertex from TopoDS);
|
|
---Purpose: If there is not First or Last vertex (infinite or
|
|
-- semi-infinite edge) return null shapes.
|
|
|
|
Range(myclass; E : Edge from TopoDS;
|
|
F : Face from TopoDS;
|
|
wFirst, wLast : in out Real from Standard);
|
|
---C++: inline
|
|
|
|
UVPoints(myclass; E : Edge from TopoDS;
|
|
F : Face from TopoDS;
|
|
uvFirst, uvLast : out Pnt2d from gp);
|
|
---C++: inline
|
|
|
|
Degenerated(myclass; E : Edge from TopoDS)
|
|
---C++: inline
|
|
returns Boolean from Standard;
|
|
|
|
Tolerance(myclass; V : Vertex from TopoDS)
|
|
---C++: inline
|
|
returns Real from Standard;
|
|
|
|
Parameter(myclass; V : Vertex from TopoDS;
|
|
E : Edge from TopoDS;
|
|
F : Face from TopoDS) returns Real from Standard;
|
|
---C++: inline
|
|
|
|
Parameters (myclass;
|
|
E : Edge from TopoDS;
|
|
F : Face from TopoDS;
|
|
W : Real;
|
|
UV : out Pnt2d);
|
|
|
|
Locate (myclass;
|
|
C : Curve from BRepAdaptor;
|
|
W : in Real; WFound : in out Real;
|
|
p3d : Pnt from gp;
|
|
UV : out Pnt2d);
|
|
|
|
Pnt(myclass; V : Vertex from TopoDS)
|
|
---C++: inline
|
|
returns Pnt from gp;
|
|
|
|
|
|
AddInFace(myclass;
|
|
F : Face from TopoDS;
|
|
T : in out Triangulation from Poly);
|
|
|
|
|
|
|
|
|
|
fields
|
|
|
|
theFIterator : Explorer from TopExp;
|
|
theEIterator : Explorer from TopExp;
|
|
theVIterator : Explorer from TopExp;
|
|
|
|
end ShapeTool;
|
|
|