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. JavaScript:JSON对象

    一.JSON对象概念 JSON (JavaScript Object Notation)一种简单的数据格式,比xml更轻巧. JSON 是 JavaScript 原生格式,这意味着在 JavaScri ...

  2. BZOJ 3438 小M的礼物

    BZOJ 3438 小M的礼物 Description 小M在MC里开辟了两块巨大的耕地A和B(你可以认为容量是无穷),现在,小P有n中作物的种子,每种作物的种子 有1个(就是可以种一棵作物)(用1. ...

  3. R语言函数化编程笔记2

    R语言函数化编程笔记2 我学过很多的编程语言,可以我写的代码很啰嗦,一定是我太懒了.或许是基础不牢地动山摇 1.为什么要学函数 函数可以简化编程语言,减少重复代码或者说面向对象的作用 2.函数 2.1 ...

  4. 【安卓开发】Webview简单使用

    什么是WebView? 答:Android内置webkit内核的高性能浏览器,而WebView则是在这个基础上进行封装后的一个 控件,WebView直译网页视图,我们可以简单的看作一个可以嵌套到界面上 ...

  5. 4.Docker 操作容器

    启动容器 所需要的命令主要为 docker run.例如,下面的命令输出一个 “Hello World”,之后终止容器. docker run ubuntu:16.04 /bin/echo 'Hell ...

  6. Wannafly Camp 2020 Day 3A 黑色气球

    #include <bits/stdc++.h> using namespace std; int a[1005][1005],n,x[1005]; int main() { scanf( ...

  7. STL-vector-set_difference B - 人见人爱A-B

    B - 人见人爱A-B 参加过上个月月赛的同学一定还记得其中的一个最简单的题目,就是{A}+{B},那个题目求的是两个集合的并集,今天我们这个A-B求的是两个集合的差,就是做集合的减法运算.(当然,大 ...

  8. android 获取所有SD卡目录

    //返回sd卡路径public static List<String> getStorageDirectories(Context context) { StorageManager sm ...

  9. Goland安装与配置

    前言 工欲善其事必先利其器,学习Go语言同样如此,一个强大的集成开发环境(IDE)能够大大提高我们的开发效率,目前市面上比较流行的有下面这几种: GoLand:由 JetBrains 公司开发的一个新 ...

  10. Eclipse导入工程Some projects cannot be imported because they already exist in the workspace

    记录一下本次出错原因,以及解决方法 错误原因: 第一次导入后,删除工程,没有没有勾选Delete project contents on disk(cannot be undone) 解决方法: 1 ...