diff --git a/Device/Instrument/Instrument.cpp b/Device/Instrument/Instrument.cpp index 9997729ab13d8c646efd2fcd9e6439dffa3553db..8782da713cf05803091e1a045da37ba67a922e45 100644 --- a/Device/Instrument/Instrument.cpp +++ b/Device/Instrument/Instrument.cpp @@ -116,11 +116,6 @@ IDetector& Instrument::detector() return *m_detector; } -PolMatrices Instrument::polarizerPair() const -{ - return {m_beam->getPolarization(), m_detector->analyzer().matrix()}; -} - void Instrument::setPolFilters(const R3& polarizer_dir, const R3& analyzer_dir, double analyzer_efficiency, double analyzer_transmission) { diff --git a/Device/Instrument/Instrument.h b/Device/Instrument/Instrument.h index 2d7c0e26529693b944efa3351561459bd04f5bc4..7f2ba93a797b281db06e14342515e0080d875880 100644 --- a/Device/Instrument/Instrument.h +++ b/Device/Instrument/Instrument.h @@ -23,7 +23,6 @@ class Beam; class CoordSystem2D; class IDetector; -class PolMatrices; //! Assembles beam, detector and their relative positions with respect to the sample. @@ -57,7 +56,6 @@ public: void setPolFilters(const R3& polarizer_dir, const R3& analyzer_dir, double analyzer_efficiency, double analyzer_transmission); - PolMatrices polarizerPair() const; std::vector<const INode*> nodeChildren() const override; diff --git a/Sim/Simulation/SpecularSimulation.cpp b/Sim/Simulation/SpecularSimulation.cpp index 6272f25c6d6f001210789a524ddf76e476521acd..7a231b0ac78ec9bab50dc4eeb123cf1c5ded1fa3 100644 --- a/Sim/Simulation/SpecularSimulation.cpp +++ b/Sim/Simulation/SpecularSimulation.cpp @@ -133,9 +133,9 @@ void SpecularSimulation::initElementVector() // TODO: remove if statement when pointwise resolution is implemented if (const auto* aScan = dynamic_cast<const AlphaScan*>(m_scan.get())) - m_eles = mangledScan(*aScan, beam())->generateElements(instrument().polarizerPair()); + m_eles = mangledScan(*aScan, beam())->generateElements(polarizerPair()); else - m_eles = m_scan->generateElements(instrument().polarizerPair()); + m_eles = m_scan->generateElements(polarizerPair()); if (!m_cache.empty()) return; @@ -210,3 +210,8 @@ void SpecularSimulation::moveDataFromCache() m_cache.clear(); m_cache.shrink_to_fit(); } + +PolMatrices SpecularSimulation::polarizerPair() const +{ + return {beam().getPolarization(), detector().analyzer().matrix()}; +} diff --git a/Sim/Simulation/SpecularSimulation.h b/Sim/Simulation/SpecularSimulation.h index 3f3b79d0f7e38f32a6bb2858995e1d19bec155af..0c29de18b24319d4ececbe4a5a32be7cb43e781c 100644 --- a/Sim/Simulation/SpecularSimulation.h +++ b/Sim/Simulation/SpecularSimulation.h @@ -21,6 +21,7 @@ class IAxis; class IFootprintFactor; class ISpecularScan; class MultiLayer; +class PolMatrices; class SpecularElement; @@ -90,6 +91,8 @@ private: //! Gets the number of elements this simulation needs to calculate size_t numberOfElements() const override; + PolMatrices polarizerPair() const; + std::shared_ptr<ISpecularScan> m_scan; std::vector<SpecularElement> m_eles; std::vector<double> m_cache; diff --git a/auto/Wrap/doxygenDevice.i b/auto/Wrap/doxygenDevice.i index 773cf7b4d6718683ce510be2d2ac82b26b803503..c9425f44a148f444059237f75bec8cf6acc4b3b5 100644 --- a/auto/Wrap/doxygenDevice.i +++ b/auto/Wrap/doxygenDevice.i @@ -1561,9 +1561,6 @@ init detector with beam settings %feature("docstring") Instrument::setPolFilters "void Instrument::setPolFilters(const R3 &polarizer_dir, const R3 &analyzer_dir, double analyzer_efficiency, double analyzer_transmission) "; -%feature("docstring") Instrument::polarizerPair "PolMatrices Instrument::polarizerPair() const -"; - %feature("docstring") Instrument::nodeChildren "std::vector< const INode * > Instrument::nodeChildren() const override "; diff --git a/auto/Wrap/libBornAgainDevice.py b/auto/Wrap/libBornAgainDevice.py index d7b36dbcedf66fbb622532377324cba09ac32677..cfd7aee188a333e1b9ec4b794c06d92d682d07e9 100644 --- a/auto/Wrap/libBornAgainDevice.py +++ b/auto/Wrap/libBornAgainDevice.py @@ -4328,14 +4328,6 @@ class Instrument(libBornAgainParam.INode): """ return _libBornAgainDevice.Instrument_setPolFilters(self, polarizer_dir, analyzer_dir, analyzer_efficiency, analyzer_transmission) - def polarizerPair(self): - r""" - polarizerPair(Instrument self) -> PolMatrices - PolMatrices Instrument::polarizerPair() const - - """ - return _libBornAgainDevice.Instrument_polarizerPair(self) - def nodeChildren(self): r""" nodeChildren(Instrument self) -> std::vector< INode const *,std::allocator< INode const * > > diff --git a/auto/Wrap/libBornAgainDevice_wrap.cpp b/auto/Wrap/libBornAgainDevice_wrap.cpp index fffb66a30912e7c2439b48b616f359a57631eebf..1be164b3376793bcca4287537585a1f7c084b4d0 100644 --- a/auto/Wrap/libBornAgainDevice_wrap.cpp +++ b/auto/Wrap/libBornAgainDevice_wrap.cpp @@ -3127,84 +3127,83 @@ namespace Swig { #define SWIGTYPE_p_Line swig_types[27] #define SWIGTYPE_p_MaskPattern swig_types[28] #define SWIGTYPE_p_OwningVectorT_IAxis_t swig_types[29] -#define SWIGTYPE_p_PolMatrices swig_types[30] -#define SWIGTYPE_p_Polygon swig_types[31] -#define SWIGTYPE_p_PolygonPrivate swig_types[32] -#define SWIGTYPE_p_PowerfieldIteratorT_double_PowerfieldT_double_t_t swig_types[33] -#define SWIGTYPE_p_PowerfieldIteratorT_double_const_PowerfieldT_double_t_const_t swig_types[34] -#define SWIGTYPE_p_PowerfieldT_CumulativeValue_t swig_types[35] -#define SWIGTYPE_p_PowerfieldT_bool_t swig_types[36] -#define SWIGTYPE_p_PowerfieldT_double_t swig_types[37] -#define SWIGTYPE_p_RealLimits swig_types[38] -#define SWIGTYPE_p_Rectangle swig_types[39] -#define SWIGTYPE_p_RectangularDetector swig_types[40] -#define SWIGTYPE_p_RectangularPixel swig_types[41] -#define SWIGTYPE_p_ResolutionFunction2DGaussian swig_types[42] -#define SWIGTYPE_p_SimulationResult swig_types[43] -#define SWIGTYPE_p_SphericalDetector swig_types[44] -#define SWIGTYPE_p_SpinMatrix swig_types[45] -#define SWIGTYPE_p_Vec3T_double_t swig_types[46] -#define SWIGTYPE_p_Vec3T_int_t swig_types[47] -#define SWIGTYPE_p_Vec3T_std__complexT_double_t_t swig_types[48] -#define SWIGTYPE_p_VerticalLine swig_types[49] -#define SWIGTYPE_p_allocator_type swig_types[50] -#define SWIGTYPE_p_char swig_types[51] -#define SWIGTYPE_p_const_iterator swig_types[52] -#define SWIGTYPE_p_corr_matrix_t swig_types[53] -#define SWIGTYPE_p_difference_type swig_types[54] -#define SWIGTYPE_p_double swig_types[55] -#define SWIGTYPE_p_first_type swig_types[56] -#define SWIGTYPE_p_int swig_types[57] -#define SWIGTYPE_p_iterator swig_types[58] -#define SWIGTYPE_p_key_type swig_types[59] -#define SWIGTYPE_p_long_long swig_types[60] -#define SWIGTYPE_p_mapped_type swig_types[61] -#define SWIGTYPE_p_p_ICoordSystem swig_types[62] -#define SWIGTYPE_p_p_PyObject swig_types[63] -#define SWIGTYPE_p_parameters_t swig_types[64] -#define SWIGTYPE_p_second_type swig_types[65] -#define SWIGTYPE_p_short swig_types[66] -#define SWIGTYPE_p_signed_char swig_types[67] -#define SWIGTYPE_p_size_type swig_types[68] -#define SWIGTYPE_p_std__allocatorT_Vec3T_double_t_t swig_types[69] -#define SWIGTYPE_p_std__allocatorT_double_t swig_types[70] -#define SWIGTYPE_p_std__allocatorT_int_t swig_types[71] -#define SWIGTYPE_p_std__allocatorT_std__complexT_double_t_t swig_types[72] -#define SWIGTYPE_p_std__allocatorT_std__pairT_double_double_t_t swig_types[73] -#define SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_double_t_t swig_types[74] -#define SWIGTYPE_p_std__allocatorT_std__string_t swig_types[75] -#define SWIGTYPE_p_std__allocatorT_std__vectorT_double_std__allocatorT_double_t_t_t swig_types[76] -#define SWIGTYPE_p_std__allocatorT_std__vectorT_int_std__allocatorT_int_t_t_t swig_types[77] -#define SWIGTYPE_p_std__allocatorT_unsigned_long_t swig_types[78] -#define SWIGTYPE_p_std__complexT_double_t swig_types[79] -#define SWIGTYPE_p_std__functionT_void_fSimulationAreaIterator_const_RF_t swig_types[80] -#define SWIGTYPE_p_std__invalid_argument swig_types[81] -#define SWIGTYPE_p_std__lessT_std__string_t swig_types[82] -#define SWIGTYPE_p_std__mapT_std__string_double_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_double_t_t_t swig_types[83] -#define SWIGTYPE_p_std__pairT_double_double_t swig_types[84] -#define SWIGTYPE_p_std__vectorT_AxisInfo_std__allocatorT_AxisInfo_t_t swig_types[85] -#define SWIGTYPE_p_std__vectorT_IAxis_p_std__allocatorT_IAxis_p_t_t swig_types[86] -#define SWIGTYPE_p_std__vectorT_INode_const_p_std__allocatorT_INode_const_p_t_t swig_types[87] -#define SWIGTYPE_p_std__vectorT_ParaMeta_std__allocatorT_ParaMeta_t_t swig_types[88] -#define SWIGTYPE_p_std__vectorT_Vec3T_double_t_std__allocatorT_Vec3T_double_t_t_t swig_types[89] -#define SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t swig_types[90] -#define SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t swig_types[91] -#define SWIGTYPE_p_std__vectorT_size_t_std__allocatorT_size_t_t_t swig_types[92] -#define SWIGTYPE_p_std__vectorT_std__complexT_double_t_std__allocatorT_std__complexT_double_t_t_t swig_types[93] -#define SWIGTYPE_p_std__vectorT_std__pairT_double_double_t_std__allocatorT_std__pairT_double_double_t_t_t swig_types[94] -#define SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t swig_types[95] -#define SWIGTYPE_p_std__vectorT_std__unique_ptrT_DiffuseElement_t_std__allocatorT_std__unique_ptrT_DiffuseElement_t_t_t swig_types[96] -#define SWIGTYPE_p_std__vectorT_std__vectorT_double_std__allocatorT_double_t_t_std__allocatorT_std__vectorT_double_std__allocatorT_double_t_t_t_t swig_types[97] -#define SWIGTYPE_p_std__vectorT_std__vectorT_int_std__allocatorT_int_t_t_std__allocatorT_std__vectorT_int_std__allocatorT_int_t_t_t_t swig_types[98] -#define SWIGTYPE_p_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t swig_types[99] -#define SWIGTYPE_p_swig__SwigPyIterator swig_types[100] -#define SWIGTYPE_p_unsigned_char swig_types[101] -#define SWIGTYPE_p_unsigned_int swig_types[102] -#define SWIGTYPE_p_unsigned_long_long swig_types[103] -#define SWIGTYPE_p_unsigned_short swig_types[104] -#define SWIGTYPE_p_value_type swig_types[105] -static swig_type_info *swig_types[107]; -static swig_module_info swig_module = {swig_types, 106, 0, 0, 0, 0}; +#define SWIGTYPE_p_Polygon swig_types[30] +#define SWIGTYPE_p_PolygonPrivate swig_types[31] +#define SWIGTYPE_p_PowerfieldIteratorT_double_PowerfieldT_double_t_t swig_types[32] +#define SWIGTYPE_p_PowerfieldIteratorT_double_const_PowerfieldT_double_t_const_t swig_types[33] +#define SWIGTYPE_p_PowerfieldT_CumulativeValue_t swig_types[34] +#define SWIGTYPE_p_PowerfieldT_bool_t swig_types[35] +#define SWIGTYPE_p_PowerfieldT_double_t swig_types[36] +#define SWIGTYPE_p_RealLimits swig_types[37] +#define SWIGTYPE_p_Rectangle swig_types[38] +#define SWIGTYPE_p_RectangularDetector swig_types[39] +#define SWIGTYPE_p_RectangularPixel swig_types[40] +#define SWIGTYPE_p_ResolutionFunction2DGaussian swig_types[41] +#define SWIGTYPE_p_SimulationResult swig_types[42] +#define SWIGTYPE_p_SphericalDetector swig_types[43] +#define SWIGTYPE_p_SpinMatrix swig_types[44] +#define SWIGTYPE_p_Vec3T_double_t swig_types[45] +#define SWIGTYPE_p_Vec3T_int_t swig_types[46] +#define SWIGTYPE_p_Vec3T_std__complexT_double_t_t swig_types[47] +#define SWIGTYPE_p_VerticalLine swig_types[48] +#define SWIGTYPE_p_allocator_type swig_types[49] +#define SWIGTYPE_p_char swig_types[50] +#define SWIGTYPE_p_const_iterator swig_types[51] +#define SWIGTYPE_p_corr_matrix_t swig_types[52] +#define SWIGTYPE_p_difference_type swig_types[53] +#define SWIGTYPE_p_double swig_types[54] +#define SWIGTYPE_p_first_type swig_types[55] +#define SWIGTYPE_p_int swig_types[56] +#define SWIGTYPE_p_iterator swig_types[57] +#define SWIGTYPE_p_key_type swig_types[58] +#define SWIGTYPE_p_long_long swig_types[59] +#define SWIGTYPE_p_mapped_type swig_types[60] +#define SWIGTYPE_p_p_ICoordSystem swig_types[61] +#define SWIGTYPE_p_p_PyObject swig_types[62] +#define SWIGTYPE_p_parameters_t swig_types[63] +#define SWIGTYPE_p_second_type swig_types[64] +#define SWIGTYPE_p_short swig_types[65] +#define SWIGTYPE_p_signed_char swig_types[66] +#define SWIGTYPE_p_size_type swig_types[67] +#define SWIGTYPE_p_std__allocatorT_Vec3T_double_t_t swig_types[68] +#define SWIGTYPE_p_std__allocatorT_double_t swig_types[69] +#define SWIGTYPE_p_std__allocatorT_int_t swig_types[70] +#define SWIGTYPE_p_std__allocatorT_std__complexT_double_t_t swig_types[71] +#define SWIGTYPE_p_std__allocatorT_std__pairT_double_double_t_t swig_types[72] +#define SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_double_t_t swig_types[73] +#define SWIGTYPE_p_std__allocatorT_std__string_t swig_types[74] +#define SWIGTYPE_p_std__allocatorT_std__vectorT_double_std__allocatorT_double_t_t_t swig_types[75] +#define SWIGTYPE_p_std__allocatorT_std__vectorT_int_std__allocatorT_int_t_t_t swig_types[76] +#define SWIGTYPE_p_std__allocatorT_unsigned_long_t swig_types[77] +#define SWIGTYPE_p_std__complexT_double_t swig_types[78] +#define SWIGTYPE_p_std__functionT_void_fSimulationAreaIterator_const_RF_t swig_types[79] +#define SWIGTYPE_p_std__invalid_argument swig_types[80] +#define SWIGTYPE_p_std__lessT_std__string_t swig_types[81] +#define SWIGTYPE_p_std__mapT_std__string_double_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_double_t_t_t swig_types[82] +#define SWIGTYPE_p_std__pairT_double_double_t swig_types[83] +#define SWIGTYPE_p_std__vectorT_AxisInfo_std__allocatorT_AxisInfo_t_t swig_types[84] +#define SWIGTYPE_p_std__vectorT_IAxis_p_std__allocatorT_IAxis_p_t_t swig_types[85] +#define SWIGTYPE_p_std__vectorT_INode_const_p_std__allocatorT_INode_const_p_t_t swig_types[86] +#define SWIGTYPE_p_std__vectorT_ParaMeta_std__allocatorT_ParaMeta_t_t swig_types[87] +#define SWIGTYPE_p_std__vectorT_Vec3T_double_t_std__allocatorT_Vec3T_double_t_t_t swig_types[88] +#define SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t swig_types[89] +#define SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t swig_types[90] +#define SWIGTYPE_p_std__vectorT_size_t_std__allocatorT_size_t_t_t swig_types[91] +#define SWIGTYPE_p_std__vectorT_std__complexT_double_t_std__allocatorT_std__complexT_double_t_t_t swig_types[92] +#define SWIGTYPE_p_std__vectorT_std__pairT_double_double_t_std__allocatorT_std__pairT_double_double_t_t_t swig_types[93] +#define SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t swig_types[94] +#define SWIGTYPE_p_std__vectorT_std__unique_ptrT_DiffuseElement_t_std__allocatorT_std__unique_ptrT_DiffuseElement_t_t_t swig_types[95] +#define SWIGTYPE_p_std__vectorT_std__vectorT_double_std__allocatorT_double_t_t_std__allocatorT_std__vectorT_double_std__allocatorT_double_t_t_t_t swig_types[96] +#define SWIGTYPE_p_std__vectorT_std__vectorT_int_std__allocatorT_int_t_t_std__allocatorT_std__vectorT_int_std__allocatorT_int_t_t_t_t swig_types[97] +#define SWIGTYPE_p_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t swig_types[98] +#define SWIGTYPE_p_swig__SwigPyIterator swig_types[99] +#define SWIGTYPE_p_unsigned_char swig_types[100] +#define SWIGTYPE_p_unsigned_int swig_types[101] +#define SWIGTYPE_p_unsigned_long_long swig_types[102] +#define SWIGTYPE_p_unsigned_short swig_types[103] +#define SWIGTYPE_p_value_type swig_types[104] +static swig_type_info *swig_types[106]; +static swig_module_info swig_module = {swig_types, 105, 0, 0, 0, 0}; #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) @@ -36271,29 +36270,6 @@ fail: } -SWIGINTERN PyObject *_wrap_Instrument_polarizerPair(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - Instrument *arg1 = (Instrument *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - PolMatrices result; - - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_Instrument, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Instrument_polarizerPair" "', argument " "1"" of type '" "Instrument const *""'"); - } - arg1 = reinterpret_cast< Instrument * >(argp1); - result = ((Instrument const *)arg1)->polarizerPair(); - resultobj = SWIG_NewPointerObj((new PolMatrices(static_cast< const PolMatrices& >(result))), SWIGTYPE_p_PolMatrices, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_Instrument_nodeChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Instrument *arg1 = (Instrument *) 0 ; @@ -43515,11 +43491,6 @@ static PyMethodDef SwigMethods[] = { "void Instrument::setPolFilters(const R3 &polarizer_dir, const R3 &analyzer_dir, double analyzer_efficiency, double analyzer_transmission)\n" "\n" ""}, - { "Instrument_polarizerPair", _wrap_Instrument_polarizerPair, METH_O, "\n" - "Instrument_polarizerPair(Instrument self) -> PolMatrices\n" - "PolMatrices Instrument::polarizerPair() const\n" - "\n" - ""}, { "Instrument_nodeChildren", _wrap_Instrument_nodeChildren, METH_O, "\n" "Instrument_nodeChildren(Instrument self) -> std::vector< INode const *,std::allocator< INode const * > >\n" "std::vector< const INode * > Instrument::nodeChildren() const override\n" @@ -44309,7 +44280,6 @@ static swig_type_info _swigt__p_Instrument = {"_p_Instrument", "Instrument *", 0 static swig_type_info _swigt__p_Line = {"_p_Line", "Line *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_MaskPattern = {"_p_MaskPattern", "MaskPattern *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_OwningVectorT_IAxis_t = {"_p_OwningVectorT_IAxis_t", "OwningVector< IAxis > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_PolMatrices = {"_p_PolMatrices", "PolMatrices *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Polygon = {"_p_Polygon", "Polygon *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_PolygonPrivate = {"_p_PolygonPrivate", "PolygonPrivate *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_PowerfieldIteratorT_double_PowerfieldT_double_t_t = {"_p_PowerfieldIteratorT_double_PowerfieldT_double_t_t", "Powerfield< double >::iterator *|PowerfieldIterator< double,Powerfield< double > > *", 0, 0, (void*)0, 0}; @@ -44417,7 +44387,6 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_Line, &_swigt__p_MaskPattern, &_swigt__p_OwningVectorT_IAxis_t, - &_swigt__p_PolMatrices, &_swigt__p_Polygon, &_swigt__p_PolygonPrivate, &_swigt__p_PowerfieldIteratorT_double_PowerfieldT_double_t_t, @@ -44525,7 +44494,6 @@ static swig_cast_info _swigc__p_Instrument[] = { {&_swigt__p_Instrument, 0, 0, static swig_cast_info _swigc__p_Line[] = { {&_swigt__p_Line, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_MaskPattern[] = { {&_swigt__p_MaskPattern, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_OwningVectorT_IAxis_t[] = { {&_swigt__p_OwningVectorT_IAxis_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_PolMatrices[] = { {&_swigt__p_PolMatrices, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_Polygon[] = { {&_swigt__p_Polygon, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_PolygonPrivate[] = { {&_swigt__p_PolygonPrivate, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_PowerfieldIteratorT_double_PowerfieldT_double_t_t[] = { {&_swigt__p_PowerfieldIteratorT_double_PowerfieldT_double_t_t, 0, 0, 0},{0, 0, 0, 0}}; @@ -44633,7 +44601,6 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_Line, _swigc__p_MaskPattern, _swigc__p_OwningVectorT_IAxis_t, - _swigc__p_PolMatrices, _swigc__p_Polygon, _swigc__p_PolygonPrivate, _swigc__p_PowerfieldIteratorT_double_PowerfieldT_double_t_t,