Creating Shapes from Files
Use this option to input a shape geometry using a text data file. The text file format must follow the rules below:
1) | The first line contains the number of points used to define the polygon. |
2) | Each of the following lines contains the x and y coordinates of a polygon point separated by a comma. |
3) | The polyline is automatically closed so the first point is not repeated. |
The following data file content describes a unit triangle:
3
0.0, 0,0
1.0, 0.0
0.0, 1.0