mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 10:10:56 +08:00
0030347: Mesh, BRepMesh_ModelPostProcessor - NCollection_Array1 throws Standard_RangeError
Obtaining of 3D-polygon is forbidden for not discretized edge.
This commit is contained in:
@@ -36,6 +36,9 @@ namespace
|
||||
void operator()(const Standard_Integer theEdgeIndex) const
|
||||
{
|
||||
const IMeshData::IEdgeHandle& aDEdge = myModel->GetEdge(theEdgeIndex);
|
||||
if (aDEdge->GetCurve()->ParametersNb() == 0)
|
||||
return;
|
||||
|
||||
if (aDEdge->IsFree())
|
||||
{
|
||||
if (!aDEdge->IsSet(IMeshData_Reused))
|
||||
|
||||
Reference in New Issue
Block a user