1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-29 14:00:49 +03:00

0024648: Different types of intersection curves between Cone and Torus with a different order of arguments

Correct treatment of the cases with Cone and Torus.
Test cases for issue CR24648
This commit is contained in:
emv
2014-02-20 17:14:04 +04:00
committed by apn
parent 6f31882ada
commit 1d18c75e70
4 changed files with 345 additions and 278 deletions

View File

@@ -691,6 +691,10 @@ void BOPAlgo_PaveFiller::ForceInterfVE(const Standard_Integer nV,
aT=aProjector.LowerDistanceParameter();
//
BOPDS_VectorOfInterfVE& aVEs=myDS->InterfVE();
if (aVEs.Extent() == 0) {
aVEs.Init();
}
//
i=aVEs.Append()-1;
BOPDS_InterfVE& aVE=aVEs(i);
aVE.SetIndices(nV, nE);