I am using BRepExtrema_ExtPF API (OCCT 7.6.0) in one of my method mentioned in attached method.cpp file.
It is working without any issue in Visual studio 2017 Release (x64) configuration. But it is throwing an exception in Debug(x64) configuration.
Attached files :
method.cpp : method implementation
Exception : _CrtIsValidHeapPointer(block) --> thrown-exception.png
Call stack : CallStack.png
Can you help me to solve this issue?
Thanks in advance.