mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0031201: Modeling Algorithms - Result of a section operation is incomplete
Fixing misprint - use the boundaries of the cylinder for Plane/Cylinder intersection. Test cases for the issue.
This commit is contained in:
@@ -109,7 +109,7 @@ void IntPatch_ImpImpIntersection::Perform(const Handle(Adaptor3d_HSurface)& S1,
|
||||
case 21: { // Plane/Cylinder
|
||||
Standard_Real VMin, VMax, H;
|
||||
//
|
||||
const Handle(Adaptor3d_HSurface)& aSCyl = bReverse ? S2 : S1;
|
||||
const Handle(Adaptor3d_HSurface)& aSCyl = bReverse ? S1 : S2;
|
||||
VMin = aSCyl->FirstVParameter();
|
||||
VMax = aSCyl->LastVParameter();
|
||||
H = (Precision::IsNegativeInfinite(VMin) ||
|
||||
|
Reference in New Issue
Block a user