mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-18 17:06:14 +08: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