Skip to content

Avoid assert in geometry calculations #13022

@magnesj

Description

@magnesj

Guard against crash situations like this

 [0] manageSegFailure(int) at :0
  [1]  at :0
  [2] gsignal at :0
  [3] abort at :0
  [4] cvf::AssertHandlerConsole::handleAssert(char const*, int, char const*, char const*) at :0
  [5] bool cvf::GeometryTools::calculateOverlapPolygonOfTwoQuads<std::vector<cvf::Vector3<double>, std::allocator<cvf::Vector3<double> > > const, unsigned long>(std::vector<unsigned long, std::allocator<unsigned long> >*, std::vector<cvf::Vector3<double>, std::allocator<cvf::Vector3<double> > >*, cvf::EdgeIntersectStorage<unsigned long>*, cvf::ArrayWrapperConst<std::vector<cvf::Vector3<double>, std::allocator<cvf::Vector3<double> > > const, cvf::Vector3<double> >, unsigned long const*, unsigned long const*, double) at :0
  [6] RigCellFaceGeometryTools::extractConnectionsForFace(RigFault::FaultFace const&, RigMainGrid const*, std::set<std::pair<unsigned int, unsigned int>, std::less<std::pair<unsigned int, unsigned int> >, std::allocator<std::pair<unsigned int, unsigned int> > > const&, RigConnectionContainer&) at :0
  [7] RigCellFaceGeometryTools::computeOtherNncs(RigMainGrid const*, RigConnectionContainer const&, RigActiveCellInfo const*, bool) [clone ._omp_fn.0] at :0
  [8] gomp_thread_start at :0
  [9] start_thread at :0
  [10] clone at :0
  [11]  at :0

Metadata

Metadata

Assignees

Labels

BugInReleaseBug in an official release

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions