Dpolygon
Conversion functions dpolygon
syntax
- dpolygon(a)
definition
dpolygon(a) converts the coordinates of a point item a with a sequence of points (Arc or Polygon) to the dpoint (float64 coordinates) Value type.
applies to
- Data item with Point value type and composition type Arc or Polygon
example
attribute<dpoint> dpolygonA (SDomain, polygon) := dpolygon(A);
| A(dpolygon) | dpolygonA |
|---|---|
| {2:{0,0},{1,1}} | {2:{0,0},{1,1}} |
| {3: {1E+007,1E+007},{-2.5,-2.5},{99.9,99.9}} | {3: {1E+007,1E+007},{-2.5,-2.5},{99.9,99.9}} |