mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-06-05 11:24:17 +03:00
DRAW command discrCurve was created to test GCPnts_UniformAbscissa by count of discretization point. Two bugs in GCPnts_AbscissaPoint were fixed. DRAW tests for the bug were created.
12 lines
360 B
Plaintext
12 lines
360 B
Plaintext
puts "=================================================="
|
|
puts "Check count of segments in approximating polyline."
|
|
puts "=================================================="
|
|
puts ""
|
|
|
|
restore [locate_data_file bug24474.brep] c
|
|
discrCurve p c nbPnts 3 uniform 1
|
|
regexp {Poles\, +([0-9]+)} [dump p] full n
|
|
if {$n != 3} {
|
|
puts "Error: invalid discretization."
|
|
}
|