Ipoint - ObjectVision/GeoDMS GitHub Wiki

Conversion functions ipoint

concept

  1. ipoint is a Point(Group) value type with two coordinates of the 32 bits (4 bytes) signed integer value type: int32.
  2. ipoint() is a function converting other point data items or units to the ipoint value type.

This page describes the ipoint() function.

syntax

  • ipoint(a)

definition

ipoint(a) converts the coordinates of a point item a to the ipoint (int32 coordinates) value type.

applies to

  • data item or unit with PointGroup value type

example

attribute<ipoint> ipointA (ADomain) := ipoint(A);
A(fpoint) ipointA
xy(0; 0) xy(0; 0)
xy(1; 1) xy(1; 1)
xy(10000000; 1000000) xy(10000000; 1000000)
{-2.5, 2.5} xy(2; -2)
{99.9, 99.9} xy(99; 99)

ADomain, nr of rows = 5

⚠️ **GitHub.com Fallback** ⚠️