mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-06-15 11:44:07 +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.
100 lines
3.7 KiB
Plaintext
100 lines
3.7 KiB
Plaintext
-- Created on: 1994-09-28
|
|
-- Created by: Marie Jose MARTZ
|
|
-- 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 BRepEntity from IGESToBRep inherits CurveAndSurface from IGESToBRep
|
|
|
|
---Purpose : Provides methods to transfer BRep entities
|
|
-- ( VertexList 502, EdgeList 504, Loop 508,
|
|
-- Face 510, Shell 514, ManifoldSolid 186)
|
|
-- from IGES to CASCADE.
|
|
|
|
uses
|
|
|
|
CurveAndSurface from IGESToBRep,
|
|
IGESEntity from IGESData,
|
|
VertexList from IGESSolid,
|
|
EdgeList from IGESSolid,
|
|
Loop from IGESSolid,
|
|
Face from IGESSolid,
|
|
Shell from IGESSolid,
|
|
ManifoldSolid from IGESSolid,
|
|
Face from TopoDS,
|
|
Shape from TopoDS,
|
|
Vertex from TopoDS,
|
|
Trsf2d from gp
|
|
|
|
|
|
is
|
|
|
|
Create returns BRepEntity;
|
|
---Purpose : Creates a tool BRepEntity ready to run, with
|
|
-- epsilons set to 1.E-04, TheModeTopo to True, the
|
|
-- optimization of the continuity to False.
|
|
|
|
Create(CS : CurveAndSurface from IGESToBRep) returns BRepEntity;
|
|
---Purpose : Creates a tool BRepEntity ready to run and sets its
|
|
-- fields as CS's.
|
|
|
|
Create(eps : Real;
|
|
epsGeom : Real;
|
|
epsCoeff : Real;
|
|
mode : Boolean;
|
|
modeapprox : Boolean;
|
|
optimized : Boolean) returns BRepEntity;
|
|
---Purpose : Creates a tool BRepEntity ready to run.
|
|
|
|
TransferBRepEntity (me : in out;
|
|
start : IGESEntity from IGESData)
|
|
returns Shape from TopoDS;
|
|
---Purpose : Transfer the BRepEntity" : Face, Shell or ManifoldSolid.
|
|
|
|
TransferVertex (me : in out;
|
|
start : VertexList from IGESSolid;
|
|
index : Integer from Standard)
|
|
returns Vertex from TopoDS;
|
|
---Purpose : Transfer the entity number "index" of the VertexList "start"
|
|
|
|
TransferEdge (me : in out;
|
|
start : EdgeList from IGESSolid;
|
|
index : Integer from Standard)
|
|
returns Shape from TopoDS;
|
|
---Purpose : Transfer the entity number "index" of the EdgeList "start".
|
|
|
|
TransferLoop (me : in out;
|
|
start : Loop from IGESSolid;
|
|
Face : Face from TopoDS;
|
|
trans : Trsf2d from gp;
|
|
uFact :Real)
|
|
returns Shape from TopoDS;
|
|
---Purpose : Transfer the Loop Entity
|
|
|
|
TransferFace (me : in out;
|
|
start : Face from IGESSolid)
|
|
returns Shape from TopoDS;
|
|
---Purpose : Transfer the Face Entity
|
|
|
|
TransferShell (me : in out;
|
|
start : Shell from IGESSolid)
|
|
returns Shape from TopoDS;
|
|
---Purpose : Transfer the Shell Entity
|
|
|
|
TransferManifoldSolid (me : in out;
|
|
start : ManifoldSolid from IGESSolid)
|
|
returns Shape from TopoDS;
|
|
---Purpose : Transfer the ManifoldSolid Entity
|
|
|
|
end BRepEntity;
|