Usage: dbShape [-help] [-d] [-step <step>] [-output {polygon rect hrect area}]

<shapeList> [AND <shapeList> | ANDNOT <shapeList> | OR <shapeList> | XOR <shapeList>

| INSIDE shapeList | OUTSIDE shapeList | ENCLOSE shapeList | STRADDLE shapeList

| BBOX | HOLES | NOHOLES | MOVE {<dx> <dy>} | SIZE <value> | SIZEX <value> | SIZEY <value>] ...

-help              # Prints out the command usage

-d                 # User specified values and return values are in database units.

# Default: All values are in user units, in microns. (bool, optional)

-step <step>       # Specifies step size if output format is rect, required to convert

# non-orthogonal shapes into series of rectangles. Default: minwidth

# value of first routing layer (coord, optional).

-output {polygon rect hrect area}

# Specifies the output format. (rect = vertical rectangles,

# hrect = horizontal rectangles), area = total area of final shape

# default: rect (enum, optional)

<shapeList>        # polygon or rect or list of polygon and rect. polygon:

# {{x y} {x y} {x y} ... }; rect: {x1 y1 x2 y2} (list, required)

AND <shapeList>    # binary operator: intersection of list of shapes

ANDNOT <shapeList> # binary operator: initial list of shapes minus second list of shapes

OR <shapeList>     # binary operator: union of list of shapes

XOR <shapeList>    # binary operator: union of list of shapes minus AND of the list of shapes

# (string, optional)

INSIDE <shapelist> # binary operator: initial shapes that are inside (including touching)

# of one of the shapes from the second list

OUTSIDE <shapelist># binary operator: initial shapes that are outside (including touching)

# of the shapes from the second list

ENCLOSE <shapelist># binary operator: initial shapes that completely enclose at least one shape from the second list

STRADDLE <shapelist>

# binary operator: initial shapes that are partially inside and partially outside

# at least one shape from the second list

MOVE {<dx> <dy>}   # unary operator : move the list of shapes by {<dx> <dy>}

BBOX               # unary operator : computes the bounding box of list of shapes

# (string, optional)

HOLES              # unary operator : returns list of new shapes that fill holes in the original list of shapes

NOHOLES            # unary operator : returns list of new shapes that include filled holes in the original list of shapes

# (same as dbShape $shapeList HOLES OR $shapeList)

SIZE  <value>      # unary operator : increase the size of list of shapes by <value>

SIZEX <value>      # unary operator : increase the size of the list of shapes in the

# X-direction by <value>

SIZEY <value>      # unary operator : increase the size of the list of shapes in the

# Y-direction by <value>

dbShape的更多相关文章

  1. 如何在前端通过JavaScript创建修改CAD图形

    背景 在之前的博文CAD图DWG解析WebGIS可视化技术分析总结.CAD_DWG图Web可视化一站式解决方案-唯杰地图-vjmap中讲解了如何把CAD的DWG格式的图纸Web可视化的方案,那在Web ...

随机推荐

  1. Edit页面返回ViewBag json字符串与前端js交互

    很多时候,在打开一个新页面的时候,后端需要同时传一个json字符串给前端页面,但是我们又不能把action的返回值改为string,这时候我们就需要用到ViewBag将json字符串传回到前端,前端j ...

  2. 理解Javascript的变量提升

    前言 本文2922字,阅读大约需要8分钟. 总括: 什么是变量提升,使用var,let,const,function,class声明的变量函数类在变量提升的时候都有什么区别. 参考文章:Hoistin ...

  3. 09 : 构造方法 & 代码块

    构造方法 概念 构造方法是一种特殊的方法,它是一个与类同名的方法 对象的创建就是通过构造方法来完成. 其功能主要是完成对象的创建或者对象的初始化 当类实例化new一个对象时会自动调用构造方法 构造方法 ...

  4. jQuery---城市选择案例

    城市选择案例 <!DOCTYPE html> <html> <head lang="en"> <meta charset="UT ...

  5. 批量获取mysql数据库实例指定参数的值

    需求:需要对比所有mysql数据库实例上面的指定参数配置情况,同时需要需要能看到如ip,端口,master or slave,毕竟主和从参数不一样还是有可能的. 说明:必须要有个数据库存储所有是数据库 ...

  6. 插入jupyter notebook代码

    <iframe src="https://nbviewer.jupyter.org/gist/gaowenxin95/53408e0f1ce268430efaad2cb1f0ca4f& ...

  7. wso2 使用配置

    1.下载wso2 https://docs.wso2.com 2.配置 https://172.10.0.59:9443/publisher https://172.10.0.59:9443/carb ...

  8. Hackintosh相关资源站

    猫叔博客 https://www.maoshu.cc/ 大神RehabMan https://bitbucket.org/RehabMan/ dsdt/ssdt打补丁译文 https://blog.c ...

  9. 为什么hashmap的容量永远要是2的次方

    源码hashmap.java文件中有个函数叫tableSizeFor(),他的作用是,通过-1>>>n-1返回一个大于n的最小二次幂,n为map之前的容量,而函数返回值就是扩容的二次 ...

  10. 查看杀死django进程

    #命令:#用于显示tcp,udp的端口和进程等相关情况netstat -tunlp"""ps:-t (tcp)仅显示tcp相关选项-u (udp)仅显示udp相关选项-n ...