Public Member Functions | |
def | addPiece (self, piece_shape, source_shape_index_list) |
def | getGFReturn (self) |
def | replacePiece (self, piece_index, new_shape) |
Public Attributes | |
hasher_class | |
pieces | |
source_shapes | |
def BOPTools.GeneralFuseResult.GeneralFuseReturnBuilder.addPiece | ( | self, | |
piece_shape, | |||
source_shape_index_list | |||
) |
addPiece(piece_shape, source_shape_index_list): adds a piece. If the piece already exists, returns False, and only updates source<->piece map.
References BOPTools.GeneralFuseResult.GeneralFuseResult._piece_to_index, BOPTools.GeneralFuseResult.GeneralFuseReturnBuilder._piece_to_index, BOPTools.GeneralFuseResult.GeneralFuseReturnBuilder._pieces_from_source, BOPTools.GeneralFuseResult.GeneralFuseReturnBuilder.hasher_class, BOPTools.GeneralFuseResult.GeneralFuseResult.pieces, and BOPTools.GeneralFuseResult.GeneralFuseReturnBuilder.pieces.
def BOPTools.GeneralFuseResult.GeneralFuseReturnBuilder.getGFReturn | ( | self | ) |
References BOPTools.GeneralFuseResult.GeneralFuseReturnBuilder._pieces_from_source, BOPTools.GeneralFuseResult.GeneralFuseResult.pieces, and BOPTools.GeneralFuseResult.GeneralFuseReturnBuilder.pieces.
def BOPTools.GeneralFuseResult.GeneralFuseReturnBuilder.replacePiece | ( | self, | |
piece_index, | |||
new_shape | |||
) |
BOPTools.GeneralFuseResult.GeneralFuseReturnBuilder.hasher_class |
BOPTools.GeneralFuseResult.GeneralFuseReturnBuilder.pieces |
Referenced by BOPTools.GeneralFuseResult.GeneralFuseReturnBuilder.addPiece(), BOPTools.GeneralFuseResult.GeneralFuseResult.explodeCompounds(), BOPTools.GeneralFuseResult.GeneralFuseReturnBuilder.getGFReturn(), BOPTools.GeneralFuseResult.GeneralFuseResult.parse(), BOPTools.GeneralFuseResult.GeneralFuseResult.parse_elements(), BOPTools.GeneralFuseResult.GeneralFuseResult.piecesFromSource(), BOPTools.GeneralFuseResult.GeneralFuseReturnBuilder.replacePiece(), and BOPTools.GeneralFuseResult.GeneralFuseResult.splitAggregates().
BOPTools.GeneralFuseResult.GeneralFuseReturnBuilder.source_shapes |