getCenter method

Sp3dV3D getCenter(
  1. Sp3dObj parent
)

(en)Gets the average coordinates of this face.

(ja)この面の平均座標を取得します。

  • parent : parent obj.

Implementation

Sp3dV3D getCenter(Sp3dObj parent) {
  return Sp3dV3D.ave(getVertices(parent));
}