centroid_points_weighted
- compas.geometry.centroid_points_weighted(points, weights)[source]
- Compute the weighted centroid of a set of points. The weights can be any between minus and plus infinity. - Parameters:
- pointssequence[[float, float, float] | compas.geometry.Point]
- A list of point coordinates. 
- weightssequence[float]
- A list of weight floats. 
 
- pointssequence[[float, float, float] | 
- Returns:
- [float, float, float]
- The coordinates of the weighted centroid.