For example, the following code snippet creates a Profile3D plane which represents
a cube's cross-section:
Profile3D sliceBody(const DeviationParams& devDeviation)
{
// Create a plane
OdGePlane plane(OdGePoint3d(1.,1.,1.), OdGeVector3d(5.,4.,3.));
// Create a body
Body body = createCube(devDeviation);
// Call the slice method and receive the resulting Profile3D
Profile3D result;
body.slice(plane, result, true);
return result;
}