0025890: Intersection algorithm produces curves overlaped
[occt.git] / src / IntPolyh / IntPolyh_Intersection.cxx
index a48bf45..dc7f440 100644 (file)
@@ -232,7 +232,7 @@ void IntPolyh_Intersection::GetTangentZonePoint(const Standard_Integer Indexz,
   const IntPolyh_StartPoint   &sp=TTangentZones[Indexz-1];
   x=sp.X();
   y=sp.Y();
-  z=sp.Y();
+  z=sp.Z();
   u1=sp.U1();
   v1=sp.V1();
   u2=sp.U2();