1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-29 14:00:49 +03:00

0025166: STEP Reader - allow GEOMETRIC_SET entity to accept non-geometric children

Allow GEOMETRIC_SET entity to accept GeometricRepresentationItem children

Modification to avoid cyclic dependency between STEPControl and StepToTopoDS packages

Test cases for issue CR25166
This commit is contained in:
drazmyslovich
2014-08-21 12:41:24 +04:00
committed by bugmaster
parent d91b3986ed
commit 38deba5d7f
6 changed files with 58 additions and 7 deletions

View File

@@ -22,6 +22,7 @@ Standard_Integer StepShape_GeometricSetSelect::CaseNum(const Handle(Standard_Tra
if (ent->IsKind(STANDARD_TYPE(StepGeom_Point))) return 1;
if (ent->IsKind(STANDARD_TYPE(StepGeom_Curve))) return 2;
if (ent->IsKind(STANDARD_TYPE(StepGeom_Surface))) return 3;
if (ent->IsKind(STANDARD_TYPE(StepGeom_GeometricRepresentationItem))) return 4;
return 0;
}