projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0025763: SSP sample is unable to build the proper surface on the given cloud of points
[occt.git]
/
src
/
GeomConvert
/
GeomConvert_1.cxx
diff --git
a/src/GeomConvert/GeomConvert_1.cxx
b/src/GeomConvert/GeomConvert_1.cxx
index
d4cb967
..
601f041
100644
(file)
--- a/
src/GeomConvert/GeomConvert_1.cxx
+++ b/
src/GeomConvert/GeomConvert_1.cxx
@@
-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;
}