slepc-3.16.1 2021-11-17
Report Typos and Errors


Gets the vertices that define the polygon region.


#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)


The values passed by user with RGPolygonSetVertices() are returned (or null pointers otherwise). The returned arrays should be freed by the user when no longer needed.

See Also


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