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