#include <Voxel_BooleanOperation.hxx>
Public Member Functions | |
void * | operator new (size_t, void *anAddress) |
void * | operator new (size_t size) |
void | operator delete (void *anAddress) |
Standard_EXPORT | Voxel_BooleanOperation () |
An empty constructor. . | |
Standard_EXPORT Standard_Boolean | Fuse (Voxel_BoolDS &theVoxels1, const Voxel_BoolDS &theVoxels2) const |
Fuses two cubes of voxels. It modifies the first cube of voxels. It returns false in case of different dimension of the cube, different number of voxels. . | |
Standard_EXPORT Standard_Boolean | Fuse (Voxel_ColorDS &theVoxels1, const Voxel_ColorDS &theVoxels2) const |
Fuses two cubes of voxels. It modifies the first cube of voxels. It returns false in case of different dimension of the cube, different number of voxels. It summerizes the value of corresponding voxels and puts the result to theVoxels1. If the result exceeds 15 or becomes greater, it keeps 15. . | |
Standard_EXPORT Standard_Boolean | Fuse (Voxel_FloatDS &theVoxels1, const Voxel_FloatDS &theVoxels2) const |
Fuses two cubes of voxels. It modifies the first cube of voxels. It returns false in case of different dimension of the cube, different number of voxels. It summerizes the value of corresponding voxels and puts the result to theVoxels1. . | |
Standard_EXPORT Standard_Boolean | Cut (Voxel_BoolDS &theVoxels1, const Voxel_BoolDS &theVoxels2) const |
Cuts two cubes of voxels. It modifies the first cube of voxels. It returns false in case of different dimension of the cube, different number of voxels. . | |
Standard_EXPORT Standard_Boolean | Cut (Voxel_ColorDS &theVoxels1, const Voxel_ColorDS &theVoxels2) const |
Cuts two cubes of voxels. It modifies the first cube of voxels. It returns false in case of different dimension of the cube, different number of voxels. It subtracts the value of corresponding voxels and puts the result to theVoxels1. . | |
Standard_EXPORT Standard_Boolean | Cut (Voxel_FloatDS &theVoxels1, const Voxel_FloatDS &theVoxels2) const |
Cuts two cubes of voxels. It modifies the first cube of voxels. It returns false in case of different dimension of the cube, different number of voxels. It subtracts the value of corresponding voxels and puts the result to theVoxels1. . | |
Private Member Functions | |
Standard_EXPORT Standard_Boolean | Check (const Voxel_DS &theVoxels1, const Voxel_DS &theVoxels2) const |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|