2010-03-01 18:35:28 +00:00
|
|
|
#include "processing.h"
|
|
|
|
|
|
|
|
Processing::Processing(Operator* op, Engine* eng)
|
|
|
|
{
|
|
|
|
Op=op;
|
|
|
|
Eng=eng;
|
|
|
|
}
|
|
|
|
|
|
|
|
Processing::~Processing()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-03-02 13:54:50 +00:00
|
|
|
void Processing::DefineStartStopCoord(double* dstart, double* dstop)
|
|
|
|
{
|
|
|
|
if (Op->SnapToMesh(dstart,start)==false) cerr << "Processing::DefineStartStopCoord: Snapping error in mesh, check start value!!" << endl;
|
2010-03-02 14:37:00 +00:00
|
|
|
if (Op->SnapToMesh(dstop,stop)==false) cerr << "Processing::DefineStartStopCoord: Snapping error in mesh, check stop value!!" << endl;
|
2010-03-01 18:35:28 +00:00
|
|
|
}
|
2010-03-02 13:54:50 +00:00
|
|
|
|