Potential error in documentation for function tsearchn
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Michael Stachowsky
le 21 Juil 2015
Modifié(e) : Steven Lord
le 21 Juil 2015
Howdy,
the tsearchn function says that the argument TRI must be a triangulation from delaunayTriangulation. However, the triangulation alone is not accepted. Instead, the function needs TRI.connectivityList. Is this an error in the documentation or am I using the function wrong?
0 commentaires
Réponse acceptée
Steven Lord
le 21 Juil 2015
Modifié(e) : Steven Lord
le 21 Juil 2015
I agree that the documentation is a bit confusing. When it says that you need to specify a Delaunay triangulation for the TRI input, it is indeed looking for the matrix that you receive as the ConnectivityList of a delaunayTriangulation object. This function predates the introduction of the delaunayTriangulation object so it accepts the matrix, not the object. [The fact that the object is listed in the See Also doesn't help avoid confusion, either.]
I can see why you thought that it might accept a delaunayTriangulation, but it actually accepts a Delaunay triangulation. I'll ask the documentation staff to clarify this difference.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Delaunay Triangulation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!