occt: master a4ed7309
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
abv | master | 2013-12-10 11:40:40 | master 5747059b | |
Affected Issues | 0027063: BRepGProps raises exception on edge with no curves | |||
Changeset | 0027063: BRepGProps raises exception on edge with no curves 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 |
|||
mod - src/BRep/BRep_Tool.cxx | Diff File | |||
mod - src/BRepGProp/BRepGProp.cxx | Diff File | |||
mod - src/GProp/GProp_PGProps.cxx | Diff File | |||
add - tests/bugs/modalg_5/bug27063 | Diff File |