-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
The method here generally have non-julian names and signatures, making them harder to find and use than is necessary. GeoInterface.jl uses lower case and snake case for methods, and LibGEOS probably should here too.
The widespread use of args rather than kwargs also makes it harder to use. In delaunayTriangluation you would need to specify tol if you want to pass context, instead of those arguments being independent.
delaunayTriangulation(obj::Geometry, tol::Real = 0.0, context::GEOSContext = get_context(obj)) =
GeometryCollection(delaunayTriangulation(obj.ptr, tol, false, context), context)Any thoughts on updating everything to something like this?
delaunay_triangulation(obj::Geometry; tol::Real=0.0, only_edges=false, context::GEOSContext=get_context(obj)) =
GeometryCollection(delaunay_riangulation(obj.ptr; tol, only_edges, context), context)jw3126 and yeesian
Metadata
Metadata
Assignees
Labels
No labels