Fpoint

From ObjectVision

Jump to: navigation, search

Conversion functions fpoint

Contents

concept

  1. fpoint is a Point(Group) value type with two coordinates of the 32 bits (4 bytes) floating point value type (float32).
  2. fpoint() is a function converting other point data items or units to the fpoint value type.

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

syntax

  • fpoint(a)

definition

fpoint(a) converts the coordinates of a point item a to the fpoint (float32 coordinates) value type.

applies to

since version

5.15

example

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

ADomain, nr of rows = 5

Personal tools