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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user