MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #32041 All Revisions ] Back to Issue ]
Summary 0032041: Modeling Data - Access violation ExchangeUV in Geom_BezierSurface
Revision 2021-01-07 23:08 by kgv
Steps To Reproduce
pload MODELING
beziersurf bs 4 4  0  0 0  4 0 0  8 0 0  12 0 0 0  4 0  4 4 1  8 4 0  12 4 0 0  8 0  4 8 0  8 8 -1  12 
8 0 0 12 0 4 12 0 8 12 0 12 12 0
exchuv bs


C++ Code to reproduce:
TColgp_Array2OfPnt anArr(1, 2, 1, 3);
anArr.SetValue(1, 1, gp_Pnt(0, 0, 0));
anArr.SetValue(1, 2, gp_Pnt(0, 1, 0));
anArr.SetValue(1, 3, gp_Pnt(0, 2, 0));
anArr.SetValue(2, 1, gp_Pnt(1, 0, 0));
anArr.SetValue(2, 2, gp_Pnt(1, 1, 0));
anArr.SetValue(2, 3, gp_Pnt(1, 2, 0));

const Handle(Geom_BezierSurface) aBezierSurf = new Geom_BezierSurface(anArr);
aBezierSurf->ExchangeUV();
Revision 2021-01-07 11:59 by kgv
Steps To Reproduce C++ Code to reproduce:
TColgp_Array2OfPnt anArr(1, 2, 1, 3);
anArr.SetValue(1, 1, gp_Pnt(0, 0, 0));
anArr.SetValue(1, 2, gp_Pnt(0, 1, 0));
anArr.SetValue(1, 3, gp_Pnt(0, 2, 0));
anArr.SetValue(2, 1, gp_Pnt(1, 0, 0));
anArr.SetValue(2, 2, gp_Pnt(1, 1, 0));
anArr.SetValue(2, 3, gp_Pnt(1, 2, 0));

const Handle(Geom_BezierSurface) aBezierSurf = new Geom_BezierSurface(anArr);
aBezierSurf->ExchangeUV();
Revision 2021-01-07 10:10 by alexzkw
Steps To Reproduce C++ Code to reproduce:

TColgp_Array2OfPnt Arr(1, 2, 1, 3);
Arr.SetValue(1, 1, gp_Pnt(0, 0, 0));
Arr.SetValue(1, 2, gp_Pnt(0, 1, 0));
Arr.SetValue(1, 3, gp_Pnt(0, 2, 0));
Arr.SetValue(2, 1, gp_Pnt(1, 0, 0));
Arr.SetValue(2, 2, gp_Pnt(1, 1, 0));
Arr.SetValue(2, 3, gp_Pnt(1, 2, 0));

const Handle(Geom_BezierSurface) BezierSurf = new Geom_BezierSurface(Arr);
BezierSurf->ExchangeUV();


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker