mesh->decrRef();
}
-ShapeRecognMesh *ShapeRecognMeshBuilder::recognize()
+MCAuto<ShapeRecognMesh> ShapeRecognMeshBuilder::recognize()
{
mesh->incrRef();
NodesBuilder nodesBuilder(mesh);
recognMesh->center = buildCenter();
recognMesh->axis = buildAxis();
recognMesh->apex = buildApex();
- return recognMesh.retn();
+ return recognMesh;
}
const Nodes *ShapeRecognMeshBuilder::getNodes() const
const Nodes *getNodes() const;
const Areas *getAreas() const;
- ShapeRecognMesh *recognize();
+ MCAuto<ShapeRecognMesh> recognize();
private:
// Node properties
#include "ConeTest.hxx"
#include "ShapeRecognMeshBuilder.hxx"
+#include "ShapeRecognMesh.hxx"
#include "Areas.hxx"
#include "MathOps.hxx"
#include "TestInterpKernelUtils.hxx" // getResourceFile()
#include "CylinderTest.hxx"
#include "ShapeRecognMeshBuilder.hxx"
+#include "ShapeRecognMesh.hxx"
#include "Areas.hxx"
#include "MathOps.hxx"
#include "TestInterpKernelUtils.hxx" // getResourceFile()
#include "PlaneTest.hxx"
#include "ShapeRecognMeshBuilder.hxx"
+#include "ShapeRecognMesh.hxx"
#include "Areas.hxx"
#include "MathOps.hxx"
#include "TestInterpKernelUtils.hxx" // getResourceFile()
#include "SphereTest.hxx"
#include "ShapeRecognMeshBuilder.hxx"
+#include "ShapeRecognMesh.hxx"
#include "Areas.hxx"
#include "MathOps.hxx"
#include "TestInterpKernelUtils.hxx" // getResourceFile()
#include "Areas.hxx"
#include "MathOps.hxx"
#include "TestInterpKernelUtils.hxx" // getResourceFile()
+#include "ShapeRecognMesh.hxx"
using namespace MEDCoupling;