mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-05 12:54:18 +05:00
0023115: [CEA 1545] Regression on KindOfShape method
This commit is contained in:
parent
9282e3d0d6
commit
1f1f040445
@ -528,10 +528,9 @@ GEOMImpl_IMeasureOperations::ShapeKind GEOMImpl_IMeasureOperations::KindOfShape
|
|||||||
theDoubles->Append(aD.X());
|
theDoubles->Append(aD.X());
|
||||||
theDoubles->Append(aD.Y());
|
theDoubles->Append(aD.Y());
|
||||||
theDoubles->Append(aD.Z());
|
theDoubles->Append(aD.Z());
|
||||||
}
|
|
||||||
break;
|
if (anInfo.KindOfBounds() != GEOMAlgo_KB_INFINITE)
|
||||||
default:
|
{
|
||||||
if (anInfo.KindOfShape() == GEOMAlgo_KS_PLANE) {
|
|
||||||
// (+) geompy.kind.PLANAR xo yo zo dx dy dz nb_edges nb_vertices
|
// (+) geompy.kind.PLANAR xo yo zo dx dy dz nb_edges nb_vertices
|
||||||
|
|
||||||
aKind = SK_PLANAR;
|
aKind = SK_PLANAR;
|
||||||
@ -550,15 +549,15 @@ GEOMImpl_IMeasureOperations::ShapeKind GEOMImpl_IMeasureOperations::KindOfShape
|
|||||||
theIntegers->Append(anInfo.NbSubShapes(TopAbs_EDGE));
|
theIntegers->Append(anInfo.NbSubShapes(TopAbs_EDGE));
|
||||||
theIntegers->Append(anInfo.NbSubShapes(TopAbs_VERTEX));
|
theIntegers->Append(anInfo.NbSubShapes(TopAbs_VERTEX));
|
||||||
}
|
}
|
||||||
else {
|
}
|
||||||
|
break;
|
||||||
|
default:
|
||||||
// ??? geompy.kind.FACE nb_edges nb_vertices _surface_type_id_
|
// ??? geompy.kind.FACE nb_edges nb_vertices _surface_type_id_
|
||||||
// (+) geompy.kind.FACE nb_edges nb_vertices
|
// (+) geompy.kind.FACE nb_edges nb_vertices
|
||||||
|
|
||||||
theIntegers->Append(anInfo.NbSubShapes(TopAbs_EDGE));
|
theIntegers->Append(anInfo.NbSubShapes(TopAbs_EDGE));
|
||||||
theIntegers->Append(anInfo.NbSubShapes(TopAbs_VERTEX));
|
theIntegers->Append(anInfo.NbSubShapes(TopAbs_VERTEX));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TopAbs_EDGE:
|
case TopAbs_EDGE:
|
||||||
|
Loading…
Reference in New Issue
Block a user