BOPTools.GeneralFuseResult.GeneralFuseReturnBuilder Class Reference

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
 

Member Function Documentation

◆ addPiece()

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.

◆ getGFReturn()

def BOPTools.GeneralFuseResult.GeneralFuseReturnBuilder.getGFReturn (   self)

References BOPTools.GeneralFuseResult.GeneralFuseReturnBuilder._pieces_from_source, BOPTools.GeneralFuseResult.GeneralFuseResult.pieces, and BOPTools.GeneralFuseResult.GeneralFuseReturnBuilder.pieces.

◆ replacePiece()

def BOPTools.GeneralFuseResult.GeneralFuseReturnBuilder.replacePiece (   self,
  piece_index,
  new_shape 
)

Member Data Documentation

◆ hasher_class

BOPTools.GeneralFuseResult.GeneralFuseReturnBuilder.hasher_class

◆ pieces

◆ source_shapes


The documentation for this class was generated from the following file: