Dpoint

From ObjectVision

Jump to: navigation, search

Conversion functions dpoint

Contents

concept

  1. dpoint is a Point(Group) value type with two coordinates of the 64 bits (8 bytes) floating point value type (float64).
  2. dpoint() is a function converting other point data items or units to the dpoint value type.

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

syntax

  • dpoint(a)

definition

dpoint(a) converts the coordinates of a point item a to the dpoint (float64 coordinates) value type.

applies to

since version

5.15

example

attribute<dpoint> dpointA (ADomain) := dpoint(A);
A(dpoint) dpointA
{0,0} {0,0}
{1,1} {1,1}
{1000000,10000000} {1000000,10000000}
{-2.5, 2.5} {-2, 2}
{99.9, 99.9} {99,99}

ADomain, nr of rows = 5

Personal tools