mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-10-18 06:52:15 +08:00
- Stabilize B-spline interpolation and derivative evaluation on uneven knots. - Add local surface span selection with periodic seam derivative handling. - Optimize polynomial and rational surface cache first derivatives. - Consolidate torus evaluators and preserve small components near singularities. - Fix thin triangle projection and support independent optional BVH outputs. - Preserve Bezier cusps when adjacent tangents have opposite directions. - Apply Householder reflectors directly to right-hand sides without forming Q. - Reuse QR and SVD decompositions and retain small modes under regularization. - Make Newton convergence and PSO stagnation independent of objective scale. - Add strict PSO domain handling and optimize particle restart selection. - Use relative Laguerre residual checks to reject inaccurate roots. - Add exact component restoration for directions, frames and transformations. - Fix point mirror inversion and simplify location chain operations. - Honor default thread pool launch limits in OSD_Parallel. - Add flat map storage accounting and Precision::IsFinite. - Default GUID copy assignment and extend GTest regression coverage.
22 lines
682 B
Plaintext
22 lines
682 B
Plaintext
puts "============"
|
|
puts "OCC24347"
|
|
puts "============"
|
|
puts ""
|
|
###########################################################
|
|
# Problem by tolerance of the distance of Face and Vertex
|
|
###########################################################
|
|
|
|
pload XDE
|
|
set checkvalue 2.72742879238428e-14
|
|
|
|
restore [locate_data_file bug24347_face.brep] f
|
|
vertex v 34.265509314637 0.1 0.73361964922719
|
|
|
|
settolerance f 4.e-6
|
|
distmini d1 f v
|
|
|
|
regexp {([-0-9.+eE]+)$} [dump d1_val] full distvalue
|
|
# The vertex lies on the face; a sub-ulp residual is not a geometric distance
|
|
# reference. Check coincidence at the standard model-space precision.
|
|
checkreal "face/vertex distance" $distvalue 0.0 1.e-7 0.0
|