# Synopsis

PDX_MSGT gdx_LoopCreateVertices(long option, MDA_PTR gdx_loop_ptr)

# Purpose

Generate vertices for a face

# Description

This function is to generate all vertices for a face if they are missing or empty. All loops must be closed and continuous by order and senses.

Redundant vertices are avoided. Each vertex is generated from the average of the ending points of model curves who are joint around the vertex.

# Input

## option

Options (Not Used)

## gdx_loop_ptr

The database pointer for the GDX loop entity

# Output

## gdx_loop_ptr

An updated GDX loop with vertices

# Return

          GDX_NOERR
          GDX_INVALIDMODEL
          Low level error return
          .fi