1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-03 14:10:33 +03:00

Integration of OCCT 6.5.0 from SVN

This commit is contained in:
bugmaster
2011-03-16 07:30:28 +00:00
committed by bugmaster
parent 4903637061
commit 7fd59977df
16375 changed files with 3882564 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
#include <TransferBRep_ShapeInfo.ixx>
#include <TopoDS_TShape.hxx>
Handle(Standard_Type) TransferBRep_ShapeInfo::Type
(const TopoDS_Shape& ent)
{ return STANDARD_TYPE(TopoDS_TShape); }
Standard_CString TransferBRep_ShapeInfo::TypeName
(const TopoDS_Shape& ent)
{
if (ent.IsNull()) return "TopoDS_Shape";
switch (ent.ShapeType()) {
case TopAbs_VERTEX : return "TopoDS_Vertex";
case TopAbs_EDGE : return "TopoDS_Edge";
case TopAbs_WIRE : return "TopoDS_Wire";
case TopAbs_FACE : return "TopoDS_Face";
case TopAbs_SHELL : return "TopoDS_Shell";
case TopAbs_SOLID : return "TopoDS_Solid";
case TopAbs_COMPSOLID : return "TopoDS_CompSolid";
case TopAbs_COMPOUND : return "TopoDS_Compound";
default : break;
}
return "TopoDS_Shape";
}