Correlation table of elements by geometry types#
The tool proposes to generate the following elements for each type of geometry:
Type |
Point |
Line |
Polygon |
Number of points |
Number of settings |
---|---|---|---|---|---|
Circle by 2 points |
X |
X |
X |
2 |
0 |
Circle by 3 points |
X |
X |
X |
3 |
0 |
Circle by center and radius[^1] |
X |
X |
X |
1 |
1 |
Circle by center and diameter[^1] |
X |
X |
X |
1 |
1 |
Square by 2 points |
X |
X |
X |
2 |
0 |
Square by 2 diagonal points |
X |
X |
X |
2 |
0 |
Rectangle by 2 points and height[^1] |
X |
X |
X |
2 |
1 |
Rectangle by 3 points (3rd point = distance from 2nd point) |
X |
X |
X |
3 |
0 |
Rectangle by 3 points (3rd point = projected orthogonal) |
X |
X |
X |
3 |
0 |
Line[^2] |
X |
X |
Minimum 2 |
1 |
|
Point |
X |
1 |
0 |
Illustration of supported geometries#
Circle by 2 points#
Circle by 3 points#
Circle by center and radius#
Circle by center and diameter#
Square by 2 points#
Square by 2 diagonal points#
Rectangle by 2 points and height#
Rectangle by 3 points (3rd point = distance from 2nd point)#
Rectangle by 3 points (3rd point = projected orthogonal)#
Line#
Point#
- 1(1,2,3)
Means that the code must have a setting and that this one is of numerical type. Example of a circle by center and radius. You enter the center of the circle by a point whose code is 100 and you must enter the radius (in the unit of the projection) by adding the setting character and the measure, e.g. 100-1 for a circle with a radius of one meter.
- 2
a line is treated in a special way since it needs information indicating the opening and closing of the line, as well as changes of nature (arcs). Taking for example, a line with a code of 100, this line with 4 points must be filled in this way:
1, […], 100-1
2, […], 100-2
3, […], 100-2
4, […], 100-9
For a line, the settings are:
1: start a new line
2: continue line with a straight segment
3: add a point on an arc. You must have at least 3 continuous points with this setting to get an arc by 3 points. You can take for example test_line.csv for detailled example.
9: end the line.