mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
Method BRepGProp::LinearProperties() is corrected to treat not geometric edges (their length is zero). To avoid wrong working of command nexplode global properties are calculated as point properties of vertexes. Small value Epsilon(1.) is used as density of points. This prevents exception on shapes that contain such edges, e.g. copy of a wire containing degenerated edge. Method BRep_Tool::IsGeometric() is optimized to avoid nested iteration for check of 3D curve for Null. Small bug is fixed in GProp_PGProps.cxx
9 lines
245 B
Plaintext
9 lines
245 B
Plaintext
puts "============"
|
|
puts "0027063: BRepGProps raises e x c e p t i o n on edge with no curves"
|
|
puts "============"
|
|
|
|
restore [locate_data_file bug27063_emptyedge.brep] result
|
|
|
|
puts "Check that lprops does not crash on empty edge"
|
|
lprops result
|