slepc-3.7.3 2016-09-29
Report Typos and Errors

# RGPolygonGetVertices

Gets the vertices that define the polygon region.

### Synopsis

    #include "slepcrg.h"
    PetscErrorCode RGPolygonGetVertices(RG rg,PetscInt *n,PetscScalar **vr,PetscScalar **vi)

Not Collective

### Input Parameter

| rg | - the region context

### Output Parameters

| n | - number of vertices
| vr | - array of vertices
| vi | - array of vertices (imaginary part)

### Notes

The returned arrays must NOT be freed by the calling application.

### See Also

RGPolygonSetVertices()

Location: src/sys/classes/rg/impls/polygon/rgpolygon.c
Index of all RG routines
Table of Contents for all manual pages
Index of all manual pages