Processing math: 100%

sknano.core.geometric_regions.Cuboid.centroid

Cuboid.centroid

Cuboid centroid, (cx,cy,cz).

Computed as the 3D Point (cx,cy,cz) with coordinates:

cx=xmin+xmax2cy=ymin+ymax2cz=zmin+zmax2
Returns:

Point

3D Point of centroid.