1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

0025763: SSP sample is unable to build the proper surface on the given cloud of points

Some improvements to work with periodic splines
This commit is contained in:
anv
2015-03-23 11:23:49 +03:00
committed by bugmaster
parent d09dda0929
commit ecbdb1b027
4 changed files with 14 additions and 7 deletions

View File

@@ -702,7 +702,10 @@ Handle(Geom_BSplineSurface) GeomConvert::SurfaceToBSplineSurface
if (V2 > vmax)
V2 = vmax;
}
BS->Segment (U1, U2, V1, V2);
if (BS->IsUPeriodic() || BS->IsVPeriodic())
BS->CheckAndSegment (U1, U2, V1, V2);
else
BS->Segment (U1, U2, V1, V2);
TheSurface = BS;
}