turf center module
Functional, polymorphic API for 2D geometry types & SVG generation
2D polygon / triangle analysis & processing utilities
turf point-on-feature module
Return the centroid for a given convex polygon.
A package to find the area weighted center of a convex polygon whose mass is evenly distributed across the surface.
Implementation of the k-means algorithm to partition the values into the clusters.
Implementation of the k-means-plus-plus algorithm to partition the values into the clusters.
computes the centroid of a triangle
Return the center for a given SVG polygon points
Library for calculation of polygon centroid and bounding box area.
Chunk an array into successive pairs.
Streaming GeoJSON geometry converter. Get centroids from any geometry.
Calculation of sound parameters
A Class Feature Centroid Classifier for text categorization