mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
Fixed exception when trying to calculate line and edge normal in methods HLRBRep_Data::OrientOutLine and HLRBRep_Data::OrientOthEdge, added a check for the existence of the normal before subsequent calculations. A correct check for zero derivative, correction of floating point error and division by zero determinant directly in HLRBRep_EdgeFaceTool::CurvatureValue was set.
9 lines
308 B
Plaintext
9 lines
308 B
Plaintext
puts "============================================"
|
|
puts "OCC29405: Modeling Algorithms - Check normal define status in HLRBRep_Data"
|
|
puts "============================================"
|
|
puts ""
|
|
|
|
pload ALL
|
|
ptorus t 17.37 17.37 [dval 2.35*180/pi]
|
|
vdisplay t
|
|
vcomputehlr t t2 -algotype algo 0 50 0 0 -50 0 0 0 1 |