1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00
Files
occt/tests/boolean/volumemaker/F9
nbv bbeb1850e4 0026675: Eliminate normalization of coordinates in ApproxInt package
Normalization has been eliminated.

Additionally,
1. Some methods of AppDef_Compute and ApproxInt_MultiLine classes have become inline (for speeding up performance).
2. Interfaces of AppDef_Compute::Parametrization(...) and BRepAlgo_BooleanOperations::SetApproxParameters() methods have been changed.
3. Overloaded methods for ApproxInt_Approx::SetParameters(...), TopOpeBRepTool_GeomTool::GetTolerances(...) and TopOpeBRepTool_GeomTool::SetTolerances(...) have been removed (because some fields of these classes are not used more).
4. Lost comments have been added in BRepApprox_TheMultiLineOfApprox.hxx and GeomInt_TheMultiLineOfWLApprox.hxx files.
5. Some fields have been deleted from ApproxInt_MultiLine class. Kept members have become constant.
6. Interface of ksection DRAW-command has been changed.
7. Some code fragments have been rewritten to make them easier.
8. Function CleanWline(...) has been added in IntPatch_Intersection.cxx file. See comments in code for detail description.

Adjusting some test case according to their new behavior.
Creation test case for this issue.
2015-10-29 16:49:32 +03:00

44 lines
1.4 KiB
Plaintext

# test script on make volume operation
# cone cylinder plane
# planar face
plane pln_f1 2.3537565147188571e-015 -592.35294118000002 1.1044592656221142e-015 0.90529096719956037 4.7161388709779336e-017 0.42479202523927467
erase pln_f1
mkface f1 pln_f1 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f2 0 -620 2.2759572004815709e-014 0 -1 -1.1102230246251565e-016
erase pln_f2
mkface f2 pln_f2 -1000000 1000000 -1000000 1000000
# cylindrical face
cylinder cyl_f3 0 0 0 0 -1 1.1102230246251565e-016 1750
erase cyl_f3
mkface f3 cyl_f3 0 6.2831853071795862 -1000000 1000000
# conical face
cone con_f4 0 -5411.2352941199997 0 0 1 1.1102230246251565e-016 19.885165113840024 0
erase con_f4
mkface f4 con_f4 0 6.2831853071795862 0 1000000
# planar face
plane pln_f5 2.6273419411410461e-015 -592.35294118000002 1.448127868774439e-015 0.87578064704701541 5.3591496750491317e-017 0.48270928959147968
erase pln_f5
mkface f5 pln_f5 -1000000 1000000 -1000000 1000000
# planar face
plane pln_f6 0 -564.70588236000003 -3.0694401265129993e-015 0 -1 1.1102230246251565e-016
erase pln_f6
mkface f6 pln_f6 -1000000 1000000 -1000000 1000000
# cylindrical face
cylinder cyl_f7 0 0 2.9226621123257246e-014 0 -1 1.1102230246251565e-016 1720
erase cyl_f7
mkface f7 cyl_f7 0 6.2831853071795862 -1000000 1000000
# make volume operation
mkvolume result f1 f2 f3 f4 f5 f6 f7
set square 9.42987e+007