Skip to content

Alternate method names

Alex-Kent edited this page Apr 8, 2019 · 1 revision

Geo::Index uses CamelCase for its method names.

For those who prefer using snake case, alternate method names are provided:

Method               Alternate name
-----------------    --------------------
Index                index
IndexPoints          index_points
Unindex              unindex

BuildPoints          build_points
AddValue             add_value
GetValue             get_value

Search               search
SearchByBounds       search_by_bounds
Closest              closest
Farthest             farthest
AllPoints            all_points

Distance             distance
DistanceFrom         distance_from
DistanceTo           distance_to

OneMeterInDegrees    one_meter_in_degrees
OneDegreeInMeters    one_degree_in_meters

GetConfiguration     get_configuration
GetStatistics        get_statistics

Sweep                sweep
Vacuum               vacuum
PointCount           point_count