wpoint - ObjectVision/GeoDMS GitHub Wiki
Conversion functions wpoint
- wpoint is a Point(Group) value type with two coordinates of the 16 bits (2 bytes) unsigned integer value type: uint16.
- wpoint() is a function converting other point data items or units to the wpoint value type.
This page describes the wpoint() function.
- wpoint(a)
wpoint(a) converts the coordinates of a point item a to the wpoint (uint16 coordinates) value type.
- data item or unit with PointGroup value type
attribute<wpoint> wpointA (ADomain) := wpoint(A);
| A(fpoint) | wpointA |
|---|---|
| xy(0; 0) | xy(0; 0) |
| xy(1; 1) | xy(1; 1) |
| xy(10000000; 1000000) | null |
| {-2.5, 2.5} | null |
| {99.9, 99.9} | xy(99; 99) |
ADomain, nr of rows = 5