sknano.core.geometric_regions.Cone.centroid

Cone.centroid

Cone centroid, \((c_x, c_y, c_z)\).

Computed as:

\[c_x = \frac{3 x_1 + x_2}{4}\]\[c_y = \frac{3 y_1 + y_2}{4}\]\[c_z = \frac{3 z_1 + z_2}{4}\]
Returns:

Point

3D Point of Cone centroid.