Method GetPointsString
GetPointsString(int, int)
Gets the points composing the outline of the selection.
Declaration
public string GetPointsString(int imageWidth, int imageHeight)
Parameters
Type | Name | Description |
---|---|---|
int | imageWidth | |
int | imageHeight |
Returns
Type | Description |
---|---|
string | The character string listing the selection points. See remarks for details. |
Remarks
This selection points list corresponds to the current view mode (top view, elevation or perspective).
The selection points coordinates are given in the pixels
space corresponding to the image which which size is defined by
imageWidth
and imageHeight
parameters.
The points coordinates are separated with a coma(",") and
the points with a semi-column(";") as illustrated in the
example below:
x1,y1,z1;x2,y2,z2;...;xn,yn,zn;...
, where xn
,
yn
and zn
are the coordinates of the nth
selection point.
You can use Scene.Selection_.PointsList class to parse this string and to work with individual points in it.