1 // SWIG file NearestNeighbourAlgorithm.i 2 3 %{ 4 #include "openturns/NearestNeighbourAlgorithm.hxx" 5 %} 6 7 %include NearestNeighbourAlgorithm_doc.i 8 9 OTTypedInterfaceObjectHelper(NearestNeighbourAlgorithm) 10 11 %include openturns/NearestNeighbourAlgorithm.hxx NearestNeighbourAlgorithm(const NearestNeighbourAlgorithm & other)12namespace OT{ %extend NearestNeighbourAlgorithm { NearestNeighbourAlgorithm(const NearestNeighbourAlgorithm & other) { return new OT::NearestNeighbourAlgorithm(other); } } } 13