0027317: Some visualisation tests failed because of exceptions generated by FP signals.
[occt.git] / src / MeshVS / MeshVS_CommonSensitiveEntity.cxx
index 9438498..ebe36dd 100644 (file)
@@ -321,3 +321,12 @@ Select3D_BndBox3d MeshVS_CommonSensitiveEntity::BoundingBox()
 {
   return myBndBox;
 }
+
+//=======================================================================
+//function : CenterOfGeometry
+//purpose  :
+//=======================================================================
+gp_Pnt MeshVS_CommonSensitiveEntity::CenterOfGeometry() const
+{
+  return myCOG;
+}