Skip to content

Dyna_point

mtbeek32 edited this page Jan 2, 2023 · 8 revisions

Geometric functions dyna_point

left

syntax

  • dyna_point(startpoint, endpoint, distance)
  • dyna_point_with_ends(startpoint, endpoint, distance)

definition

  • dyna_point(startpoint, endpoint, distance) results in a new domain unit, with three generated subitems (see description) :
  1. Point: the generated point data items
  2. SequenceNr: the relation between each point and it's segment.
  3. Ordinal: the order of the points in each segment.

The dyna_point function results in a set of entries with the points generated by the dyna_point function.

Points are generated at segments, configured by the startpoint and nextpoint data items. In the figure above the light green lines are the segments, the dark green dots the dyna_points.

The distance between the points is configured with the distance parameter or literal.

The dyna_point_with_ends functions like the dyna_point function, only the end coordinates are always added to the resulting attributes

applies to

conditions

The domain and values unit of the startpoint and endpoint arguments must match.

see also

example

unit CalcPoint := dyna_point(startpoint, endpoint, 5f);

startpoint endpoint
{13732, 371391} {13738, 371384}
{13738, 371384} {13746, 371378}
{13746, 371378} {13758, 371369}
{13758, 371369} {13764, 371364}
{13764, 371364} {13768, 371360}

domain Segment, nr of rows = 5

point SequenceNr Ordinal
{13732, 371391} 0 0
{13735.3, 371387} 0 1
{13738.6, 371384} 1 0
{13742.6, 371381} 1 1
{13742.6, 371378} 2 0
{13746.6, 371375} 2 1
{13754.6, 371372} 2 2
{13758.6, 371369} 3 0
{13762.4, 371365} 3 1
{13766.1, 371362} 4 0

domainCalcPoint, nr of rows = 10

Clone this wiki locally