2 #include "figureCuttingCubeModel.h"
4 //----------------------------------------------------------------------------
5 //----------------------------------------------------------------------------
6 //----------------------------------------------------------------------------
7 figureCuttingCubeModel::figureCuttingCubeModel()
10 //----------------------------------------------------------------------------
11 figureCuttingCubeModel::~figureCuttingCubeModel() // virtual
14 //----------------------------------------------------------------------------
15 bool figureCuttingCubeModel::IfPointInside(double x, double y, double z) // virtual
22 _inversModel->MultiplyPoint (in, out);
25 if ((out[0]>-0.5) && (out[0]<0.5) && (out[1]>-0.5) && (out[1]<0.5) && (out[2]>-0.5) && (out[2]<0.5) )
31 //----------------------------------------------------------------------------
32 double figureCuttingCubeModel::GetTheoricVolume() // virtual
34 return _sx * _sy * _sz;
37 //----------------------------------------------------------------------------
38 char *figureCuttingCubeModel::GetName() // virtual