0022627: Change OCCT memory management defaults
[occt.git] / src / StepShape / StepShape_SurfaceModel.cxx
CommitLineData
7fd59977 1
2#include <StepShape_SurfaceModel.ixx>
3#include <Interface_Macros.hxx>
4
5StepShape_SurfaceModel::StepShape_SurfaceModel () { }
6
7Standard_Integer StepShape_SurfaceModel::CaseNum(const Handle(Standard_Transient)& ent) const
8{
9 if (ent.IsNull()) return 0;
10 if (ent->IsKind(STANDARD_TYPE(StepShape_ShellBasedSurfaceModel))) return 1;
11// if (ent->IsKind(STANDARD_TYPE(StepShape_FaceBasedSurfaceModel))) return 2;
12 return 0;
13}
14
15Handle(StepShape_ShellBasedSurfaceModel) StepShape_SurfaceModel::ShellBasedSurfaceModel () const
16{
17 return GetCasted(StepShape_ShellBasedSurfaceModel,Value());
18}