Wpoint

From ObjectVision

Jump to: navigation, search

Conversion functions wpoint

Contents

concept

  1. wpoint is a Point(Group) value type with two coordinates of the 16 bits (2 bytes) unsigned integer value type (uint16).
  2. wpoint() is a function converting other point data items or units to the wpoint value type.

The next topics on this page describe the wpoint() function.

syntax

  • wpoint(a)

definition

wpoint(a) converts the coordinates of a point item a to the wpoint (uint16 coordinates) value type.

applies to

since version

5.15

example

attribute<wpoint> wpointA (ADomain) := wpoint(A);
A(fpoint) wpointA
{0,0} {0,0}
{1,1} {1,1}
{1000000,10000000} null
{-2.5, 2.5} null
{99.9, 99.9} {99,99}

ADomain, nr of rows = 5

Personal tools