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