Go to the source code of this file.
Typedefs | |
typedef MR_EXTERN_C_BEGIN enum MRBooleanOperation | MRBooleanOperation |
Available CSG operations. | |
typedef enum MRBooleanResultMapperMapObject | MRBooleanResultMapperMapObject |
Input object index enum. | |
typedef struct MRBooleanResultMapper | MRBooleanResultMapper |
typedef struct MRBooleanResultMapperMaps | MRBooleanResultMapperMaps |
Enumerations | |
enum | MRBooleanOperation { MRBooleanOperationInsideA = 0 , MRBooleanOperationInsideB , MRBooleanOperationOutsideA , MRBooleanOperationOutsideB , MRBooleanOperationUnion , MRBooleanOperationIntersection , MRBooleanOperationDifferenceBA , MRBooleanOperationDifferenceAB , MRBooleanOperationCount } |
Available CSG operations. More... | |
enum | MRBooleanResultMapperMapObject { MRBooleanResultMapperMapObjectA , MRBooleanResultMapperMapObjectB , MRBooleanResultMapperMapObjectCount } |
Input object index enum. More... | |
typedef MR_EXTERN_C_BEGIN enum MRBooleanOperation MRBooleanOperation |
Available CSG operations.
typedef struct MRBooleanResultMapper MRBooleanResultMapper |
Input object index enum.
typedef struct MRBooleanResultMapperMaps MRBooleanResultMapperMaps |
enum MRBooleanOperation |
Available CSG operations.
MRMESHC_API MRFaceBitSet * mrBooleanResultMapperFilteredOldFaceBitSet | ( | MRBooleanResultMapper * | mapper, |
const MRFaceBitSet * | oldBS, | ||
MRBooleanResultMapperMapObject | obj ) |
returns updated oldBS leaving only faces that has corresponding ones in result mesh
MRMESHC_API void mrBooleanResultMapperFree | ( | MRBooleanResultMapper * | mapper | ) |
deallocates a BooleanResultMapper object
MRMESHC_API const MRBooleanResultMapperMaps * mrBooleanResultMapperGetMaps | ( | const MRBooleanResultMapper * | mapper, |
MRBooleanResultMapperMapObject | index ) |
MRMESHC_API MREdgeBitSet * mrBooleanResultMapperMapEdges | ( | const MRBooleanResultMapper * | mapper, |
const MREdgeBitSet * | oldBS, | ||
MRBooleanResultMapperMapObject | obj ) |
Returns edges bitset of result mesh corresponding input one.
MRMESHC_API MRFaceBitSet * mrBooleanResultMapperMapFaces | ( | const MRBooleanResultMapper * | mapper, |
const MRFaceBitSet * | oldBS, | ||
MRBooleanResultMapperMapObject | obj ) |
Returns faces bitset of result mesh corresponding input one.
MRMESHC_API const MRFaceMap mrBooleanResultMapperMapsCut2newFaces | ( | const MRBooleanResultMapperMaps * | maps | ) |
"after cut" faces to "after stitch" faces (1-1)
MRMESHC_API const MRFaceMap mrBooleanResultMapperMapsCut2origin | ( | const MRBooleanResultMapperMaps * | maps | ) |
"after cut" faces to "origin" faces this map is not 1-1, but N-1
MRMESHC_API bool mrBooleanResultMapperMapsIdentity | ( | const MRBooleanResultMapperMaps * | maps | ) |
old topology indexes are valid if true
MRMESHC_API const MRWholeEdgeMap mrBooleanResultMapperMapsOld2newEdges | ( | const MRBooleanResultMapperMaps * | maps | ) |
"origin" edges to "after stitch" edges (1-1)
MRMESHC_API const MRVertMap mrBooleanResultMapperMapsOld2NewVerts | ( | const MRBooleanResultMapperMaps * | maps | ) |
"origin" vertices to "after stitch" vertices (1-1)
MRMESHC_API MRVertBitSet * mrBooleanResultMapperMapVerts | ( | const MRBooleanResultMapper * | mapper, |
const MRVertBitSet * | oldBS, | ||
MRBooleanResultMapperMapObject | obj ) |
Returns vertices bitset of result mesh corresponding input one.
MRMESHC_API MRBooleanResultMapper * mrBooleanResultMapperNew | ( | void | ) |
creates a new BooleanResultMapper object
MRMESHC_API MRFaceBitSet * mrBooleanResultMapperNewFaces | ( | const MRBooleanResultMapper * | mapper | ) |
Returns only new faces that are created during boolean operation.