# Synopsis

PDX_MSGT gdx_VertexGetMaxDistance(long option, MDA_PTR gdx_vertex_ptr, double *max_dist)

# Purpose

Get the maximum distance from a vertex to all of its associated edges.

# Description

Get the maximum distance from a vertex to all of its associated edges. The distance is calculated from the end of each model curve to the vertex. The sense of the edge curve is applied, so that the proper end of the model curve is used.

# Input

## option

Options (not used)

## gdx_vertex_ptr

Database pointer to a GDX Vertex.

# Output

## max_dist

Maximum distance between the vertex and its sharing edges

# Return

          PDX_NOERR
          .fi