Synopsis

PDX_MSGT gdx_EdgeVertexGetDistance(long option, MDA_PTR gdx_edge_ptr, PDX_BOOL start_vertex_flag, double *distance)

Purpose

Get distance between the Edge and one of its Vertices.

Description

Calculate the distance between and edge and one of its vertices. Actually, the distance between the end of the model curve and the vertex. The sense is applied so that the proper end of the model curve is used when determining the distance.

Input

option

Options (not used)

gdx_edge_ptr

The valid GDX edge database pointer

start_vertex_flag

PDX_TRUE

, Start Vertex

PDX_FALSE

, End Vertex

Output

distance

Distance between te Edge and the Vertex

Return

      PDX_NOERR
      .fi