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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user