@@ -86,15 +86,14 @@ static void pyb_init_PerspCamIntrCalib(py::module_ &m)
8686 .def (" degreevisibility" , &tPCIC::DegreeVisibility," pt3dr" _a, DOC (MMVII_cPerspCamIntrCalib, DegreeVisibility))
8787 .def (" degreeVisibilityOnImFrame" , &tPCIC::DegreeVisibilityOnImFrame," pt2dr" _a, DOC (MMVII_cPerspCamIntrCalib, DegreeVisibilityOnImFrame))
8888
89- .def (" mapPProj2Im" , &tPCIC::MapPProj2Im, DOC (MMVII_cDataPerspCamIntrCalib, MapPProj2Im))
89+ .def (" mapPProj2Im" , py::overload_cast<>( &tPCIC::MapPProj2Im, py::const_) , DOC (MMVII_cDataPerspCamIntrCalib, MapPProj2Im))
9090
9191 .def (" dir_Proj" ,&tPCIC::Dir_Proj, py::return_value_policy::reference_internal, DOC (MMVII_cPerspCamIntrCalib,Dir_Proj) )
9292 .def (" dir_Dist" ,&tPCIC::Dir_Dist, py::return_value_policy::reference_internal, DOC (MMVII_cPerspCamIntrCalib,Dir_Dist) )
9393 .def (" inv_Proj" ,&tPCIC::Inv_Proj, py::return_value_policy::reference_internal, DOC (MMVII_cPerspCamIntrCalib,Inv_Proj) )
9494 .def (" dir_DistInvertible" ,&tPCIC::Dir_DistInvertible, py::return_value_policy::reference_internal, DOC (MMVII_cPerspCamIntrCalib,Dir_DistInvertible) )
9595
96- .def (" ransacPoseEstimSpaceResection" ,[](tPCIC& calib, const cSet2D3D & aSet0,size_t aNbTriplet, bool Real8=true , int aNbPtsMeasures=-1 ){return calib.RansacPoseEstimSpaceResection (aSet0, aNbTriplet);},py::arg (" aSet0" ),py::arg (" nbTriplet" ),py::arg (" real8" )=true ,py::arg (" nbPtsMeasures" )=-1 ,
97- DOC (MMVII_cPerspCamIntrCalib,RansacPoseEstimSpaceResection) )
96+ .def (" ransacPoseEstimSpaceResection" , &tPCIC::RansacPoseEstimSpaceResection, DOC (MMVII_cPerspCamIntrCalib,RansacPoseEstimSpaceResection) )
9897
9998 .def (" infoParam" ,[](tPCIC &c) {
10099 cGetAdrInfoParam<tREAL8> aGAIP (" .*" ,c,true );
0 commit comments