Dpoint

Conversion functions dpoint

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 Unit to the dpoint value type.

This page describes 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

  • data item or unit with PointGroup value type

example

attribute<dpoint> dpointA (ADomain) := dpoint(A);
A(dpoint) dpointA
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