コード例 #1
0
def complement(shp, reshaped=False):
    if reshaped:
        shp = reshape(shp)
    else:
        shp = shp.copy()
    shp.complement()
    return shp
コード例 #2
0
def transform(shp, trans):
    shp = reshape(shp)
    shp.Placement = spexpr2fcexpr(trans)
    return shp