MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #23894 All Revisions ] Back to Issue ]
Summary 0023894: Voxel_BooleanOperation (Cut) gives incorrect results
Revision 2013-04-11 19:15 by Pawel
Description Performing Voxel_BooleanOperation::Cut gives incorrect results while cutting a box with a sphere.

For instance, for the code given below in Voxel_BooleanOperation::Cut, for
ix = 28, iy = 52, iz = 40

the line 131
Standard_Boolean value2 = theVoxels2.Get(ix, iy, iz);

returns 0, meaning there is no material at this place, while this position is definitely located inside the sphere. Consequently, the voxels from the box are not substracted/cut.

Consult the images to see the problem.

On the first one (Voxel_BoolDS_Cut_SphereBox01.png) no voxels are cut near one of the edges of the box - pay attention to the gray strip.
On the second one (Voxel_BoolDS_Cut_SphereBox02.png) many gray strips are visible - no material is detected inside the sphere.
Revision 2013-04-11 19:12 by Pawel
Description Performing Voxel_BooleanOperation::Cut gives incorrect results while cutting a box with a sphere.

For instance, for the code given below in Voxel_BooleanOperation::Cut, for
ix = 28, iy = 52, iz = 40

the line 131
Standard_Boolean value2 = theVoxels2.Get(ix, iy, iz);

returns 0, meaning there is no material at this place, while this position is definitely located inside the sphere. Consequently, the voxels from the box are not substracted/cut.

Consult the images to see the problem.

On the first one no voxels are cut near one of the edges of the box - pay attention to the gray strip.
On the second one many gray strips are visible - no material is detected inside the sphere.
Revision 2013-04-11 19:10 by Pawel
Description Performing Voxel_BooleanOperation::Cut gives incorrect results while cutting a box with a sphere.

For instance, for the code given below in Voxel_BooleanOperation::Cut, for
ix = 28, iy = 52, iz = 40

the line 131
Standard_Boolean value2 = theVoxels2.Get(ix, iy, iz);

returns 0, meaning there is no material at this place, while this position is definitely located inside the sphere. Consequently, the voxels from the box are not substracted/cut.

Consult the images to see the problem.

On the first one no voxels are cut - grey strip near one of the edges of the box.
On the second one many grey strips are visible - no material is detected inside the sphere.
Revision 2013-04-11 19:07 by Pawel
Description Performing Voxel_BooleanOperation::Cut gives incorrect results while cutting a box with a sphere.

For instance, for the code given below in Voxel_BooleanOperation::Cut, for
ix = 28, iy = 52, iz = 40

the line 131
Standard_Boolean value2 = theVoxels2.Get(ix, iy, iz);

returns 0, meaning there is no material at this place, while this position is definitely located inside the sphere. Consequently, the voxels from the box are not substracted/cut.

Consult the images to see the problem.
Revision 2013-04-11 18:58 by Pawel
Description Performing Voxel_BooleanOperation::Cut gives incorrect results while cutting a box with a sphere.


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker