mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0024002: Overall code and build procedure refactoring -- automatic
Automatic upgrade of OCCT code by command "occt_upgrade . -nocdl": - WOK-generated header files from inc and sources from drv are moved to src - CDL files removed - All packages are converted to nocdlpack
This commit is contained in:
@@ -1,55 +0,0 @@
|
||||
-- Created on: 1995-04-25
|
||||
-- Created by: Marie Jose MARTZ
|
||||
-- Copyright (c) 1995-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.
|
||||
|
||||
package BRepToIGESBRep
|
||||
|
||||
---Purpose : Provides tools in order to transfer CAS.CADE entities
|
||||
-- to IGESBRep.
|
||||
|
||||
uses
|
||||
Interface,
|
||||
IGESData,
|
||||
IGESBasic,
|
||||
IGESGeom,
|
||||
IGESSolid,
|
||||
Geom,
|
||||
Geom2d,
|
||||
GeomAbs,
|
||||
GeomToIGES,
|
||||
Geom2dToIGES,
|
||||
TColStd,
|
||||
TopoDS,
|
||||
TopTools,
|
||||
TopLoc,
|
||||
TopAbs,
|
||||
Transfer,
|
||||
TransferBRep,
|
||||
BRep,
|
||||
BRepTools,
|
||||
gp,
|
||||
TCollection,
|
||||
BRepToIGES
|
||||
|
||||
is
|
||||
|
||||
-- ------------------------------------------------------
|
||||
-- Package Classes
|
||||
-- ------------------------------------------------------
|
||||
|
||||
class Entity;
|
||||
|
||||
|
||||
end BRepToIGESBRep;
|
@@ -1,173 +0,0 @@
|
||||
-- Created on: 1995-04-25
|
||||
-- Created by: Marie Jose MARTZ
|
||||
-- Copyright (c) 1995-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 Entity from BRepToIGESBRep inherits BREntity from BRepToIGES
|
||||
|
||||
|
||||
---Purpose : provides methods to transfer BRep entity from CASCADE to IGESBRep.
|
||||
|
||||
uses
|
||||
|
||||
Geometry from Geom,
|
||||
Shape from TopoDS,
|
||||
Vertex from TopoDS,
|
||||
Edge from TopoDS,
|
||||
Wire from TopoDS,
|
||||
Face from TopoDS,
|
||||
Shell from TopoDS,
|
||||
Solid from TopoDS,
|
||||
CompSolid from TopoDS,
|
||||
Compound from TopoDS,
|
||||
IndexedMapOfShape from TopTools,
|
||||
IndexedMapOfTransient from TColStd,
|
||||
IGESEntity from IGESData,
|
||||
IGESModel from IGESData,
|
||||
VertexList from IGESSolid,
|
||||
EdgeList from IGESSolid,
|
||||
Loop from IGESSolid,
|
||||
Face from IGESSolid,
|
||||
Shell from IGESSolid,
|
||||
ManifoldSolid from IGESSolid,
|
||||
CString from Standard,
|
||||
FinderProcess from Transfer
|
||||
|
||||
is
|
||||
|
||||
Create
|
||||
returns Entity from BRepToIGESBRep;
|
||||
---Purpose : Creates a tool Entity
|
||||
|
||||
|
||||
Clear (me : in out);
|
||||
---Purpose : Clears the contents of the fields
|
||||
|
||||
|
||||
TransferVertexList (me : in out);
|
||||
---Purpose : Create the VertexList entity
|
||||
|
||||
|
||||
IndexVertex (me;
|
||||
myvertex : Vertex from TopoDS)
|
||||
returns Integer
|
||||
---Purpose: Returns the index of <myvertex> in "myVertices"
|
||||
is static;
|
||||
|
||||
|
||||
AddVertex (me : in out;
|
||||
myvertex : Vertex from TopoDS)
|
||||
returns Integer
|
||||
---Purpose: Stores <myvertex> in "myVertices"
|
||||
-- Returns the index of <myvertex>.
|
||||
is static;
|
||||
|
||||
|
||||
TransferEdgeList (me : in out);
|
||||
---Purpose : Transfert an Edge entity from TopoDS to IGES
|
||||
|
||||
|
||||
IndexEdge (me;
|
||||
myedge : Edge from TopoDS)
|
||||
returns Integer
|
||||
---Purpose: Returns the index of <myedge> in "myEdges"
|
||||
is static;
|
||||
|
||||
|
||||
AddEdge (me : in out;
|
||||
myedge : Edge from TopoDS;
|
||||
mycurve3d : IGESEntity from IGESData)
|
||||
returns Integer
|
||||
---Purpose: Stores <myedge> in "myEdges" and <mycurve3d> in "myCurves".
|
||||
-- Returns the index of <myedge>.
|
||||
is static;
|
||||
|
||||
|
||||
TransferShape (me : in out; start : Shape from TopoDS)
|
||||
returns IGESEntity from IGESData is redefined;
|
||||
---Purpose : Returns the result of the transfert of any Shape
|
||||
-- If the transfer has failed, this member return a NullEntity.
|
||||
|
||||
|
||||
TransferEdge (me : in out;
|
||||
myedge : Edge from TopoDS)
|
||||
returns IGESEntity from IGESData;
|
||||
---Purpose : Transfert an Edge entity from TopoDS to IGES
|
||||
-- If this Entity could not be converted, this member returns a NullEntity.
|
||||
|
||||
|
||||
TransferEdge (me : in out;
|
||||
myedge : Edge from TopoDS;
|
||||
myface : Face from TopoDS;
|
||||
length : in Real from Standard)
|
||||
returns IGESEntity from IGESData;
|
||||
---Purpose : Transfert an Edge entity from TopoDS to IGES
|
||||
-- If this Entity could not be converted, this member returns a NullEntity.
|
||||
|
||||
|
||||
TransferWire (me : in out;
|
||||
mywire : Wire from TopoDS;
|
||||
myface : Face from TopoDS;
|
||||
length : in Real from Standard)
|
||||
returns Loop from IGESSolid;
|
||||
---Purpose : Transfert a Wire entity from TopoDS to IGES.
|
||||
-- Returns the curve associated to mywire in the parametric space of myface.
|
||||
-- If this Entity could not be converted, this member returns a NullEntity.
|
||||
|
||||
|
||||
TransferFace (me : in out;
|
||||
start : Face from TopoDS)
|
||||
returns Face from IGESSolid;
|
||||
---Purpose : Transfert a Face entity from TopoDS to IGES
|
||||
-- If this Entity could not be converted, this member returns a NullEntity.
|
||||
|
||||
|
||||
TransferShell (me : in out;
|
||||
start : Shell from TopoDS)
|
||||
returns Shell from IGESSolid;
|
||||
---Purpose : Transfert an Shell entity from TopoDS to IGES
|
||||
-- If this Entity could not be converted, this member returns a NullEntity.
|
||||
|
||||
|
||||
TransferSolid (me : in out;
|
||||
start : Solid from TopoDS)
|
||||
returns ManifoldSolid from IGESSolid;
|
||||
---Purpose : Transfert a Solid entity from TopoDS to IGES
|
||||
-- If this Entity could not be converted, this member returns a NullEntity.
|
||||
|
||||
|
||||
TransferCompSolid (me : in out;
|
||||
start : CompSolid from TopoDS)
|
||||
returns IGESEntity from IGESData;
|
||||
---Purpose : Transfert an CompSolid entity from TopoDS to IGES
|
||||
-- If this Entity could not be converted, this member returns a NullEntity.
|
||||
|
||||
|
||||
TransferCompound (me : in out;
|
||||
start : Compound from TopoDS)
|
||||
returns IGESEntity from IGESData;
|
||||
---Purpose : Transfert a Compound entity from TopoDS to IGES
|
||||
-- If this Entity could not be converted, this member returns a NullEntity.
|
||||
|
||||
fields
|
||||
|
||||
myVertices : IndexedMapOfShape from TopTools;
|
||||
myEdges : IndexedMapOfShape from TopTools;
|
||||
myCurves : IndexedMapOfTransient from TColStd;
|
||||
myEdgeList : EdgeList from IGESSolid;
|
||||
myVertexList : VertexList from IGESSolid;
|
||||
|
||||
|
||||
end Entity;
|
||||
|
@@ -23,121 +23,98 @@
|
||||
// abv 31.01.00 inheriting from BRepToIGES_BREntity to remove code duplication
|
||||
//eap: Tue Aug 29 11:02:56 2000: Shape Processing moved to upper levels
|
||||
|
||||
#include <BRepToIGESBRep_Entity.ixx>
|
||||
|
||||
#include <BRepToIGES_BRWire.hxx>
|
||||
|
||||
#include <BRepLib.hxx>
|
||||
#include <BRep_Tool.hxx>
|
||||
#include <BRepLib.hxx>
|
||||
#include <BRepToIGES_BRWire.hxx>
|
||||
#include <BRepToIGESBRep_Entity.hxx>
|
||||
#include <BRepTools.hxx>
|
||||
#include <BRepTools_WireExplorer.hxx>
|
||||
|
||||
#include <Geom2d_Curve.hxx>
|
||||
#include <Geom2dToIGES_Geom2dCurve.hxx>
|
||||
#include <Geom_BezierCurve.hxx>
|
||||
#include <Geom_BSplineCurve.hxx>
|
||||
#include <Geom_CartesianPoint.hxx>
|
||||
#include <Geom_Circle.hxx>
|
||||
#include <Geom_ConicalSurface.hxx>
|
||||
#include <Geom_Curve.hxx>
|
||||
#include <Geom_CylindricalSurface.hxx>
|
||||
#include <Geom_Ellipse.hxx>
|
||||
#include <Geom_Hyperbola.hxx>
|
||||
#include <Geom_Parabola.hxx>
|
||||
#include <Geom_Plane.hxx>
|
||||
#include <Geom_RectangularTrimmedSurface.hxx>
|
||||
#include <Geom_SphericalSurface.hxx>
|
||||
#include <Geom_Surface.hxx>
|
||||
#include <Geom_SurfaceOfLinearExtrusion.hxx>
|
||||
#include <Geom_SurfaceOfRevolution.hxx>
|
||||
#include <Geom_ToroidalSurface.hxx>
|
||||
#include <Geom_TrimmedCurve.hxx>
|
||||
#include <GeomToIGES_GeomCurve.hxx>
|
||||
#include <GeomToIGES_GeomSurface.hxx>
|
||||
#include <gp.hxx>
|
||||
#include <gp_Circ2d.hxx>
|
||||
#include <gp_Elips2d.hxx>
|
||||
#include <gp_Pnt.hxx>
|
||||
#include <gp_Pnt2d.hxx>
|
||||
#include <gp_Trsf.hxx>
|
||||
#include <gp_XYZ.hxx>
|
||||
#include <gp_Trsf2d.hxx>
|
||||
|
||||
#include <Geom_BezierCurve.hxx>
|
||||
#include <Geom_BSplineCurve.hxx>
|
||||
#include <Geom_CartesianPoint.hxx>
|
||||
#include <Geom_ConicalSurface.hxx>
|
||||
#include <Geom_Circle.hxx>
|
||||
#include <Geom_Curve.hxx>
|
||||
#include <Geom_Ellipse.hxx>
|
||||
#include <Geom_Hyperbola.hxx>
|
||||
#include <Geom_Parabola.hxx>
|
||||
#include <Geom_Plane.hxx>
|
||||
#include <Geom_Surface.hxx>
|
||||
#include <Geom_CylindricalSurface.hxx>
|
||||
#include <Geom_RectangularTrimmedSurface.hxx>
|
||||
#include <Geom_SphericalSurface.hxx>
|
||||
#include <Geom_SurfaceOfLinearExtrusion.hxx>
|
||||
#include <Geom_SurfaceOfRevolution.hxx>
|
||||
#include <Geom_ToroidalSurface.hxx>
|
||||
#include <Geom_TrimmedCurve.hxx>
|
||||
|
||||
//#include <GeomConvert.hxx>
|
||||
//#include <Geom2dConvert.hxx>
|
||||
|
||||
#include <Geom2d_Curve.hxx>
|
||||
|
||||
#include <GeomToIGES_GeomCurve.hxx>
|
||||
#include <GeomToIGES_GeomSurface.hxx>
|
||||
|
||||
#include <Geom2dToIGES_Geom2dCurve.hxx>
|
||||
|
||||
#include <IGESBasic_HArray1OfHArray1OfInteger.hxx>
|
||||
#include <IGESBasic_HArray1OfHArray1OfIGESEntity.hxx>
|
||||
#include <gp_XYZ.hxx>
|
||||
#include <IGESBasic_Group.hxx>
|
||||
|
||||
#include <IGESBasic_HArray1OfHArray1OfIGESEntity.hxx>
|
||||
#include <IGESBasic_HArray1OfHArray1OfInteger.hxx>
|
||||
#include <IGESData_HArray1OfIGESEntity.hxx>
|
||||
#include <IGESData_IGESEntity.hxx>
|
||||
#include <IGESData_IGESModel.hxx>
|
||||
#include <IGESData_HArray1OfIGESEntity.hxx>
|
||||
|
||||
#include <IGESGeom_CompositeCurve.hxx>
|
||||
#include <IGESGeom_Point.hxx>
|
||||
|
||||
#include <IGESSolid_EdgeList.hxx>
|
||||
#include <IGESSolid_Face.hxx>
|
||||
#include <IGESSolid_HArray1OfFace.hxx>
|
||||
#include <IGESSolid_Loop.hxx>
|
||||
#include <IGESSolid_HArray1OfLoop.hxx>
|
||||
#include <IGESSolid_Shell.hxx>
|
||||
#include <IGESSolid_HArray1OfShell.hxx>
|
||||
#include <IGESSolid_ManifoldSolid.hxx>
|
||||
#include <IGESSolid_VertexList.hxx>
|
||||
#include <IGESSolid_HArray1OfVertexList.hxx>
|
||||
#include <IGESSolid_EdgeList.hxx>
|
||||
|
||||
#include <IGESSolid_Loop.hxx>
|
||||
#include <IGESSolid_ManifoldSolid.hxx>
|
||||
#include <IGESSolid_Shell.hxx>
|
||||
#include <IGESSolid_VertexList.hxx>
|
||||
#include <Interface_Macros.hxx>
|
||||
|
||||
//#include <ShapeAnalysis.hxx>
|
||||
//#include <ShapeCustom.hxx>
|
||||
|
||||
#include <Interface_Static.hxx>
|
||||
#include <Message_ProgressIndicator.hxx>
|
||||
#include <ShapeAlgo.hxx>
|
||||
#include <ShapeAlgo_AlgoContainer.hxx>
|
||||
#include <TColgp_HArray1OfXYZ.hxx>
|
||||
|
||||
#include <TColStd_HArray1OfInteger.hxx>
|
||||
#include <TColStd_HSequenceOfTransient.hxx>
|
||||
#include <TColStd_SequenceOfInteger.hxx>
|
||||
#include <TColStd_HArray1OfInteger.hxx>
|
||||
|
||||
#include <TopAbs_ShapeEnum.hxx>
|
||||
#include <TopAbs_Orientation.hxx>
|
||||
|
||||
#include <TopAbs_ShapeEnum.hxx>
|
||||
#include <TopExp.hxx>
|
||||
#include <TopExp_Explorer.hxx>
|
||||
|
||||
#include <TopLoc_Location.hxx>
|
||||
|
||||
#include <TopoDS.hxx>
|
||||
#include <TopoDS_Compound.hxx>
|
||||
#include <TopoDS_CompSolid.hxx>
|
||||
#include <TopoDS_Edge.hxx>
|
||||
#include <TopoDS_Face.hxx>
|
||||
#include <TopoDS_Solid.hxx>
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <TopoDS_Shell.hxx>
|
||||
#include <TopoDS_Solid.hxx>
|
||||
#include <TopoDS_Vertex.hxx>
|
||||
#include <TopoDS_Wire.hxx>
|
||||
|
||||
#include <Transfer_FinderProcess.hxx>
|
||||
#include <TransferBRep_ShapeMapper.hxx>
|
||||
#include <TransferBRep_OrientedShapeMapper.hxx>
|
||||
#include <Transfer_TransientMapper.hxx>
|
||||
#include <Transfer_SimpleBinderOfTransient.hxx>
|
||||
#include <Interface_Static.hxx>
|
||||
|
||||
#include <ShapeAlgo.hxx>
|
||||
#include <ShapeAlgo_AlgoContainer.hxx>
|
||||
#include <Message_ProgressIndicator.hxx>
|
||||
#include <Transfer_TransientMapper.hxx>
|
||||
#include <TransferBRep_OrientedShapeMapper.hxx>
|
||||
#include <TransferBRep_ShapeMapper.hxx>
|
||||
|
||||
//#include <GeomConvert.hxx>
|
||||
//#include <Geom2dConvert.hxx>
|
||||
//#include <ShapeAnalysis.hxx>
|
||||
//#include <ShapeCustom.hxx>
|
||||
//=======================================================================
|
||||
//function : BRepToIGESBRep_Entity
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
BRepToIGESBRep_Entity::BRepToIGESBRep_Entity()
|
||||
{
|
||||
Init();
|
||||
|
146
src/BRepToIGESBRep/BRepToIGESBRep_Entity.hxx
Normal file
146
src/BRepToIGESBRep/BRepToIGESBRep_Entity.hxx
Normal file
@@ -0,0 +1,146 @@
|
||||
// Created on: 1995-04-25
|
||||
// Created by: Marie Jose MARTZ
|
||||
// Copyright (c) 1995-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.
|
||||
|
||||
#ifndef _BRepToIGESBRep_Entity_HeaderFile
|
||||
#define _BRepToIGESBRep_Entity_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <TopTools_IndexedMapOfShape.hxx>
|
||||
#include <TColStd_IndexedMapOfTransient.hxx>
|
||||
#include <BRepToIGES_BREntity.hxx>
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
class IGESSolid_EdgeList;
|
||||
class IGESSolid_VertexList;
|
||||
class TopoDS_Vertex;
|
||||
class TopoDS_Edge;
|
||||
class IGESData_IGESEntity;
|
||||
class TopoDS_Shape;
|
||||
class TopoDS_Face;
|
||||
class IGESSolid_Loop;
|
||||
class TopoDS_Wire;
|
||||
class IGESSolid_Face;
|
||||
class IGESSolid_Shell;
|
||||
class TopoDS_Shell;
|
||||
class IGESSolid_ManifoldSolid;
|
||||
class TopoDS_Solid;
|
||||
class TopoDS_CompSolid;
|
||||
class TopoDS_Compound;
|
||||
|
||||
|
||||
//! provides methods to transfer BRep entity from CASCADE to IGESBRep.
|
||||
class BRepToIGESBRep_Entity : public BRepToIGES_BREntity
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
//! Creates a tool Entity
|
||||
Standard_EXPORT BRepToIGESBRep_Entity();
|
||||
|
||||
//! Clears the contents of the fields
|
||||
Standard_EXPORT void Clear();
|
||||
|
||||
//! Create the VertexList entity
|
||||
Standard_EXPORT void TransferVertexList();
|
||||
|
||||
//! Returns the index of <myvertex> in "myVertices"
|
||||
Standard_EXPORT Standard_Integer IndexVertex (const TopoDS_Vertex& myvertex) const;
|
||||
|
||||
//! Stores <myvertex> in "myVertices"
|
||||
//! Returns the index of <myvertex>.
|
||||
Standard_EXPORT Standard_Integer AddVertex (const TopoDS_Vertex& myvertex);
|
||||
|
||||
//! Transfert an Edge entity from TopoDS to IGES
|
||||
Standard_EXPORT void TransferEdgeList();
|
||||
|
||||
//! Returns the index of <myedge> in "myEdges"
|
||||
Standard_EXPORT Standard_Integer IndexEdge (const TopoDS_Edge& myedge) const;
|
||||
|
||||
//! Stores <myedge> in "myEdges" and <mycurve3d> in "myCurves".
|
||||
//! Returns the index of <myedge>.
|
||||
Standard_EXPORT Standard_Integer AddEdge (const TopoDS_Edge& myedge, const Handle(IGESData_IGESEntity)& mycurve3d);
|
||||
|
||||
//! Returns the result of the transfert of any Shape
|
||||
//! If the transfer has failed, this member return a NullEntity.
|
||||
Standard_EXPORT virtual Handle(IGESData_IGESEntity) TransferShape (const TopoDS_Shape& start) Standard_OVERRIDE;
|
||||
|
||||
//! Transfert an Edge entity from TopoDS to IGES
|
||||
//! If this Entity could not be converted, this member returns a NullEntity.
|
||||
Standard_EXPORT Handle(IGESData_IGESEntity) TransferEdge (const TopoDS_Edge& myedge);
|
||||
|
||||
//! Transfert an Edge entity from TopoDS to IGES
|
||||
//! If this Entity could not be converted, this member returns a NullEntity.
|
||||
Standard_EXPORT Handle(IGESData_IGESEntity) TransferEdge (const TopoDS_Edge& myedge, const TopoDS_Face& myface, const Standard_Real length);
|
||||
|
||||
//! Transfert a Wire entity from TopoDS to IGES.
|
||||
//! Returns the curve associated to mywire in the parametric space of myface.
|
||||
//! If this Entity could not be converted, this member returns a NullEntity.
|
||||
Standard_EXPORT Handle(IGESSolid_Loop) TransferWire (const TopoDS_Wire& mywire, const TopoDS_Face& myface, const Standard_Real length);
|
||||
|
||||
//! Transfert a Face entity from TopoDS to IGES
|
||||
//! If this Entity could not be converted, this member returns a NullEntity.
|
||||
Standard_EXPORT Handle(IGESSolid_Face) TransferFace (const TopoDS_Face& start);
|
||||
|
||||
//! Transfert an Shell entity from TopoDS to IGES
|
||||
//! If this Entity could not be converted, this member returns a NullEntity.
|
||||
Standard_EXPORT Handle(IGESSolid_Shell) TransferShell (const TopoDS_Shell& start);
|
||||
|
||||
//! Transfert a Solid entity from TopoDS to IGES
|
||||
//! If this Entity could not be converted, this member returns a NullEntity.
|
||||
Standard_EXPORT Handle(IGESSolid_ManifoldSolid) TransferSolid (const TopoDS_Solid& start);
|
||||
|
||||
//! Transfert an CompSolid entity from TopoDS to IGES
|
||||
//! If this Entity could not be converted, this member returns a NullEntity.
|
||||
Standard_EXPORT Handle(IGESData_IGESEntity) TransferCompSolid (const TopoDS_CompSolid& start);
|
||||
|
||||
//! Transfert a Compound entity from TopoDS to IGES
|
||||
//! If this Entity could not be converted, this member returns a NullEntity.
|
||||
Standard_EXPORT Handle(IGESData_IGESEntity) TransferCompound (const TopoDS_Compound& start);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
TopTools_IndexedMapOfShape myVertices;
|
||||
TopTools_IndexedMapOfShape myEdges;
|
||||
TColStd_IndexedMapOfTransient myCurves;
|
||||
Handle(IGESSolid_EdgeList) myEdgeList;
|
||||
Handle(IGESSolid_VertexList) myVertexList;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _BRepToIGESBRep_Entity_HeaderFile
|
2
src/BRepToIGESBRep/FILES
Normal file
2
src/BRepToIGESBRep/FILES
Normal file
@@ -0,0 +1,2 @@
|
||||
BRepToIGESBRep_Entity.cxx
|
||||
BRepToIGESBRep_Entity.hxx
|
Reference in New Issue
Block a user