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. 微信公众号和小程序可以共用access_token值吗?

    微信公众号和小程序可以共用access_token值吗? 答案:是不能的 因为两者都可通过统一接口(https://api.weixin.qq.com/cgi-bin/message/subscrib ...

  2. Wormholes POJ - 3259 spfa判断负环

    //判断负环 dist初始化为正无穷 //正环 负无穷 #include<iostream> #include<cstring> #include<queue> # ...

  3. 【你不知道的javaScript 上卷 笔记6】javaScript中的对象相关内容

    一.创建一个对象的语法 var myObj = { key: value // ... };//字面量 var myObj = new Object(); //new myObj.key = valu ...

  4. php文件上传 form表单形式

    1.php界面 <?php header( 'Content-Type:text/html;charset=utf-8 ');include_once("conn/conn.php&q ...

  5. 数据库SQL练习(一):数据查询

    先创建以下3张基本表 1.学生信息表(Student): 2.课程表(Course): 3.成绩表(Score): 4. 将下列数据输入各个表中 建表SQL: CREATE DATABASE Stud ...

  6. [CF3B] Lorry - 贪心

    有一辆载重量为 v 的货车, 准备运送两种物品. 物品 A 的重量为 1, 物体 B 的重量为 2, 每个物品都有一个价值. 求货车可以运送的物品的最大价值. Solution 考虑把物品分为两类,枚 ...

  7. django学习 session保持登录,且登出

    学一点记一点 刚刚进来的时候突然发现,博客园的主页在缩小的时候会发生一些挤压,有点意思 今天刚看了session,感觉之前太迷茫,把问题想得过于复杂了. 我这个是建立在有登录和注册的功能上的演示. 首 ...

  8. python实现进度条下载

    核心代码: for i in range(10): print('\r' + '>' * i, end='') 示例展示以搜狗输入法为例: import timeimport requestsi ...

  9. VB断点拷贝大文件(WIN7系统需要更改某个API函数,具体我也忘了)

    小弟以前租碟在电脑上看VCD,有时候拷贝经典的影片到硬盘上可惜碰到比较粗糙的碟子就很难拷贝过去,因此编了个断点拷贝文件的程序.本程序用于拷贝大文件,并可在旧文件上接着拷贝本程序能在无法读取数据的情况下 ...

  10. 设置一个数量不定item的位置

    let dis;//item宽度加item之间gap的宽度item.setPosition((i<arr.length/2?-1:1) * Math.abs(i - arr.length/2 + ...